mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 11:13:50 +00:00
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:
@@ -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"; }
|
||||
|
||||
Reference in New Issue
Block a user