Trim filespace value to allow for setting of '' and remove spaces from config default,

php3 array fix
This commit is contained in:
Miles Lott 2001-07-18 05:00:26 +00:00
parent 132cc41e5a
commit 6145299773

View File

@ -39,7 +39,7 @@
'projects' => True,
'phonelog' => True,
'infolog' => True,
'phpwebhosting' => True,
'phpwebhosting' => True
);
function is_odd($n)
@ -275,7 +275,7 @@
$account_file_space_type_selected[$account_file_space_type] = "selected";
$account_file_space = '
<input type=text name="account_file_space_number" value="' . $account_file_space_number . '" size="7">';
<input type=text name="account_file_space_number" value="' . trim($account_file_space_number) . '" size="7">';
$account_file_space_select ='<select name="account_file_space_type">';
$account_file_space_types = array ("gb", "mb", "kb", "b");
while (list ($num, $type) = each ($account_file_space_types))