From d07689c8d49fb7214e5e73a421bf2d2850ee2cab Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 28 Jul 2010 19:52:47 +0000 Subject: [PATCH] syslog handling update git-svn-id: http://www.observium.org/svn/observer/trunk@1507 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/syslog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/syslog.php b/includes/syslog.php index 24c345e34b..c1ac400111 100755 --- a/includes/syslog.php +++ b/includes/syslog.php @@ -5,7 +5,7 @@ function process_syslog ($entry, $update) { global $config; foreach($config['syslog_filter'] as $bi) { - if (strstr($entry['msg'], $bi)) { + if (strstr($entry['msg'], $bi) !== FALSE) { $delete = 1; } }