summaryrefslogtreecommitdiffstats
path: root/etc/inc/notices.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/notices.inc')
-rw-r--r--etc/inc/notices.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index 278d4f4..d2cf505 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -345,7 +345,7 @@ function notify_via_growl($message) {
global $config;
$growl_ip = $config['notifications']['growl']['ipaddress'];
$growl_password = $config['notifications']['growl']['password'];
- if($growl_ip) {
+ if(!empty($growl_ip)) {
$growl = new Growl($growl_ip, $growl_password);
$growl->notify("pfSense growl alert", "pfSense", "{$message}");
}
OpenPOWER on IntegriCloud