From 7eece5a802d7fd3e71e1c97775164bf5058e2b11 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Thu, 26 Jul 2007 10:10:27 +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