Skip to content

Commit

Permalink
GH-139 Pretty input box cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed May 30, 2022
1 parent b4c1efe commit 4527e9b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions fleet2.php
Original file line number Diff line number Diff line change
Expand Up @@ -380,14 +380,11 @@
}
$_Lang['SetSpeed'] = $_POST['speed'];

if($_User['settings_useprettyinputbox'] == 1)
{
$_Lang['P_AllowPrettyInputBox'] = 'true';
}
else
{
$_Lang['P_AllowPrettyInputBox'] = 'false';
}
$_Lang['P_AllowPrettyInputBox'] = (
($_User['settings_useprettyinputbox'] == 1) ?
'true' :
'false'
);
$_User['settings_resSortArray'] = explode(',', $_User['settings_resSortArray']);
foreach($_User['settings_resSortArray'] as $ResSortData)
{
Expand Down

0 comments on commit 4527e9b

Please sign in to comment.