summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-23 23:06:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-23 23:06:26 +0000
commitb1919dd0079116313382a006b9a98db3f0a7ebdf (patch)
tree1e4e88427214e018e39e54563954a402ab37e2cf /usr/local/www/wizard.php
parent748f4e8a0f9a26d1c853b4aae2e53a3999370663 (diff)
downloadpfsense-b1919dd0079116313382a006b9a98db3f0a7ebdf.zip
pfsense-b1919dd0079116313382a006b9a98db3f0a7ebdf.tar.gz
Correctly restore SelectedType selection on wizard load and correctly save out the selected type setting.
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index c67f13b..6a24413 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -153,15 +153,15 @@ if($pkg['step'][$stepid]['stepbeforeformdisplay'] <> "") {
$name = strtolower($name);
if($field['bindstofield'] <> "") {
- $arraynum = "";
- $field_conv = "";
- $field_split = split("->", $field['bindstofield']);
- // arraynum is used in cases where there is an array of the same field
- // name such as dnsserver (2 of them)
- if($field['arraynum'] <> "") $arraynum = "[" . $field['arraynum'] . "]";
- foreach ($field_split as $f) $field_conv .= "['" . $f . "']";
- $toeval = "\$value = \$config" . $field_conv . $arraynum . ";";
- eval($toeval);
+ $arraynum = "";
+ $field_conv = "";
+ $field_split = split("->", $field['bindstofield']);
+ // arraynum is used in cases where there is an array of the same field
+ // name such as dnsserver (2 of them)
+ if($field['arraynum'] <> "") $arraynum = "[" . $field['arraynum'] . "]";
+ foreach ($field_split as $f) $field_conv .= "['" . $f . "']";
+ $toeval = "\$value = \$config" . $field_conv . $arraynum . ";";
+ eval($toeval);
}
if(!$field['combinefieldsend'])
OpenPOWER on IntegriCloud