summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-05-14 16:21:19 +0000
committerErmal <eri@pfsense.org>2010-05-14 16:21:37 +0000
commitba374e4b298709d53aaa61bd6d61717a1211fc3e (patch)
tree5fec23f358f3aac046b89050e3c16dd66cec81db /usr/local/www
parent839cad07a34518c02de398d6fd117d8592ea2ffe (diff)
downloadpfsense-ba374e4b298709d53aaa61bd6d61717a1211fc3e.zip
pfsense-ba374e4b298709d53aaa61bd6d61717a1211fc3e.tar.gz
Ticket #493. Ticket #302. Actually correct code flow to be correct and consistent to what it should do.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/wizard.php2
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) {
OpenPOWER on IntegriCloud