summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-11 12:29:29 +0000
committerErmal <eri@pfsense.org>2010-06-11 12:29:29 +0000
commitddc75a80690a26e3368e1c2692f9a0940ba831f3 (patch)
treef1c058405cec66bbeaff512f514c4f4d3f1f7bba /usr/local/www/wizard.php
parenta4f07557b4fae0811fbfbc3dcd32abc6a3fab61d (diff)
downloadpfsense-ddc75a80690a26e3368e1c2692f9a0940ba831f3.zip
pfsense-ddc75a80690a26e3368e1c2692f9a0940ba831f3.tar.gz
Fix typo.
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 6e8c4f7..8a5c78f 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -130,7 +130,7 @@ function update_config_field($field, $updatetext, $unset, $arraynum, $field_type
if($field_conv == "")
return;
if ($arraynum <> "")
- $field_conf .= "[" . $arraynum . "]";
+ $field_conv .= "[" . $arraynum . "]";
if(($field_type == "checkbox" and $updatetext <> "on") || $updatetext == "") {
/*
* item is a checkbox, it should have the value "on"
@@ -149,7 +149,7 @@ function update_config_field($field, $updatetext, $unset, $arraynum, $field_type
return;
}
- if($unset <> "") {
+ if($unset == "yes") {
$text = "unset(\$config" . $field_conv . ");";
eval($text);
}
OpenPOWER on IntegriCloud