diff options
author | jim-p <jimp@pfsense.org> | 2013-09-08 19:57:08 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-09-08 19:57:41 -0400 |
commit | fae7ef31e36c0a7f0861b1072dfcad68df132050 (patch) | |
tree | cc664d73887e4e8b2564ef62a6c3c5758410ac5c /usr/local/www/system_advanced_notifications.php | |
parent | 1d47cb37b3f7173c65b1aff521adf7ac2382f195 (diff) | |
download | pfsense-fae7ef31e36c0a7f0861b1072dfcad68df132050.zip pfsense-fae7ef31e36c0a7f0861b1072dfcad68df132050.tar.gz |
Test growl whether or not growl is disabled.
Diffstat (limited to 'usr/local/www/system_advanced_notifications.php')
-rw-r--r-- | usr/local/www/system_advanced_notifications.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php index 5d15fea..48de7fd 100644 --- a/usr/local/www/system_advanced_notifications.php +++ b/usr/local/www/system_advanced_notifications.php @@ -137,8 +137,7 @@ if ($_POST) { if ($_POST['test_growl'] == gettext("Test Growl")) { // Send test message via growl if($config['notifications']['growl']['ipaddress'] && - $config['notifications']['growl']['password'] = $_POST['password'] && - !isset($config['notifications']['growl']['disable'])) { + $config['notifications']['growl']['password'] = $_POST['password']) { unlink_if_exists($g['vardb_path'] . "/growlnotices_lastmsg.txt"); register_via_growl(); notify_via_growl(sprintf(gettext("This is a test message from %s. It is safe to ignore this message."), $g['product_name']), true); |