Fix a problem where an empty variable is not allowed there are a few rare cases where this is beneficial behaviour.

This commit is contained in:
Mark Crane 2012-07-18 04:11:05 +00:00
parent 3fc5b31096
commit c82104880c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//check for all required data
if (strlen($var_name) == 0) { $msg .= "Please provide: Name<br>\n"; }
if (strlen($var_value) == 0) { $msg .= "Please provide: Value<br>\n"; }
//if (strlen($var_value) == 0) { $msg .= "Please provide: Value<br>\n"; }
//if (strlen($var_cat) == 0) { $msg .= "Please provide: Category<br>\n"; }
if (strlen($var_enabled) == 0) { $msg .= "Please provide: Enabled<br>\n"; }
if (strlen($var_order) == 0) { $msg .= "Please provide: Order<br>\n"; }