From 1e940f77ffcc842c7dfbdb70b530ce1a0a249956 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sun, 8 Sep 2013 19:57:08 -0400 Subject: Test growl whether or not growl is disabled. --- usr/local/www/system_advanced_notifications.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr/local/www/system_advanced_notifications.php') 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); -- cgit v1.1