diff options
author | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-09 21:14:27 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-09 21:14:27 -0400 |
commit | 66184513bc1e0abeea7f8404e69b2db1748300b1 (patch) | |
tree | e93d9aa2eb54cf833a1236fa95f75e17d0b7d080 | |
parent | 67ffb407e006a94e55069a9b4704f99d0a284863 (diff) | |
download | pfsense-66184513bc1e0abeea7f8404e69b2db1748300b1.zip pfsense-66184513bc1e0abeea7f8404e69b2db1748300b1.tar.gz |
Restore form values correctly... really.
-rw-r--r-- | usr/local/www/system_advanced_notifications.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php index abbaafc..6f2a55c 100644 --- a/usr/local/www/system_advanced_notifications.php +++ b/usr/local/www/system_advanced_notifications.php @@ -36,15 +36,10 @@ require("guiconfig.inc"); -if (!is_array($config['notifications']['growls'])) - $config['notifications']['growl'] = array(); - -$a_tunable = &$config['notifications']['growl']; - -if($a_tunable['password']) - $pconfig['password'] = $a_tunable['password']; -if($a_tunable['ipaddress']) - $pconfig['ipaddress'] = $a_tunable['ipaddress']; +if($config['notifications']['growl']['password']) + $pconfig['password'] = $config['notifications']['growl']['password']; +if($config['notifications']['growl']['ipaddress']) + $pconfig['ipaddress'] = $config['notifications']['growl']['ipaddress']; if ($_POST) { |