summaryrefslogtreecommitdiffstats
path: root/etc/inc/notices.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-09 12:45:27 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-09 12:45:27 +0000
commit575a42f58c4ce54c8774b875187fd63f4173f673 (patch)
tree9f62396e055d74c2e3a99f218da23ccdec188649 /etc/inc/notices.inc
parent621500884f61785fdd63ce5190fa776285e703c9 (diff)
downloadpfsense-575a42f58c4ce54c8774b875187fd63f4173f673.zip
pfsense-575a42f58c4ce54c8774b875187fd63f4173f673.tar.gz
Add some more error checking to not have issues as reported on http://forum.pfsense.org/index.php/topic,23435.0.html
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