Update provision.php
Allow provision variables of type boolean and numeric.
This commit is contained in:
@@ -281,6 +281,8 @@ include "root.php";
|
|||||||
foreach($_SESSION['provision'] as $key=>$val) {
|
foreach($_SESSION['provision'] as $key=>$val) {
|
||||||
if (strlen($val['var']) > 0) { $value = $val['var']; }
|
if (strlen($val['var']) > 0) { $value = $val['var']; }
|
||||||
if (strlen($val['text']) > 0) { $value = $val['text']; }
|
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; }
|
if (strlen($value) > 0) { $provision[$key] = $value; }
|
||||||
unset($value);
|
unset($value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user