diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-12-18 21:34:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-12-18 21:34:40 +0000 |
commit | 9b8837be0628830b0eab2d36fde737e6848489c5 (patch) | |
tree | 8557e38ba825625a05cfce249b4f6b604f52e81d /usr/local/www/wizard.php | |
parent | a8df0181a7c5fdeac31c60847efc0594a041405c (diff) | |
download | pfsense-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-x | usr/local/www/wizard.php | 2 |
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 . ";"; |