diff options
Diffstat (limited to 'usr/local')
-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) { |