summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-09-08 19:57:08 -0400
committerjim-p <jimp@pfsense.org>2013-09-08 19:57:08 -0400
commit1e940f77ffcc842c7dfbdb70b530ce1a0a249956 (patch)
tree60eab902feef08fc136b9a43298fb45843e316ee /usr/local/www/system_advanced_notifications.php
parentcf07d574334e5f10d2e8117c8edfbc700fe8f689 (diff)
downloadpfsense-1e940f77ffcc842c7dfbdb70b530ce1a0a249956.zip
pfsense-1e940f77ffcc842c7dfbdb70b530ce1a0a249956.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.php3
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);
OpenPOWER on IntegriCloud