diff options
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-x | usr/local/www/wizard.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php index e5d3a8d..d493b7f 100755 --- a/usr/local/www/wizard.php +++ b/usr/local/www/wizard.php @@ -196,7 +196,7 @@ function enablechange() { <?php foreach($pkg['step'][$stepid]['fields']['field'] as $field) { if(isset($field['enablefields']) or isset($field['checkenablefields'])) { - print "\t" . 'if (document.iform.' . strtolower($field['name']) . '.checked == false) {' . "\n"; + print "\t" . 'if (document.iform.' . strtolower($field['name']) . '.checked) {' . "\n"; if(isset($field['enablefields'])) { $enablefields = explode(',', $field['enablefields']); foreach($enablefields as $enablefield) { |