From 93654229205fb9d7463ba957562e9135a559cf5b Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 26 Jul 2007 10:10:26 +0000 Subject: [PATCH] use php4 --- .../serendipity_event_statistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/serendipity_event_statistics/serendipity_event_statistics.php b/plugins/serendipity_event_statistics/serendipity_event_statistics.php index 0ec5990..ffe3c21 100644 --- a/plugins/serendipity_event_statistics/serendipity_event_statistics.php +++ b/plugins/serendipity_event_statistics/serendipity_event_statistics.php @@ -193,7 +193,7 @@ class serendipity_event_statistics extends serendipity_event ); foreach($banned_array AS $ban) { - if (stripos($useragent, $ban) !== false) { + if (stristr($useragent, $ban) !== false) { $found = 1; break; } -- 2.39.5