Update provision.php
Add ability to use provision settings with type boolean and numeric.
This commit is contained in:
parent
3dd0f69b03
commit
7809b63e72
|
|
@ -281,6 +281,8 @@ include "root.php";
|
|||
foreach($_SESSION['provision'] as $key=>$val) {
|
||||
if (strlen($val['var']) > 0) { $value = $val['var']; }
|
||||
if (strlen($val['text']) > 0) { $value = $val['text']; }
|
||||
if (strlen($val['boolean']) > 0) { $value = $val['boolean']; }
|
||||
if (strlen($val['numeric']) > 0) { $value = $val['numeric']; }
|
||||
if (strlen($value) > 0) { $provision[$key] = $value; }
|
||||
unset($value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue