summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2004-12-18 21:34:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2004-12-18 21:34:40 +0000
commit9b8837be0628830b0eab2d36fde737e6848489c5 (patch)
tree8557e38ba825625a05cfce249b4f6b604f52e81d /usr/local/www/wizard.php
parenta8df0181a7c5fdeac31c60847efc0594a041405c (diff)
downloadpfsense-9b8837be0628830b0eab2d36fde737e6848489c5.zip
pfsense-9b8837be0628830b0eab2d36fde737e6848489c5.tar.gz
Move the "User has been added." save message to the XML file where it belongs.
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 5e4c99c..df6f24c 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -138,6 +138,8 @@ function update_config_field($field, $updatetext, $unset) {
$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 . ";";
OpenPOWER on IntegriCloud