]> git.mjollnir.org Git - s9y.git/commitdiff
use php4
authorgarvinhicking <garvinhicking>
Thu, 26 Jul 2007 10:10:26 +0000 (10:10 +0000)
committergarvinhicking <garvinhicking>
Thu, 26 Jul 2007 10:10:26 +0000 (10:10 +0000)
plugins/serendipity_event_statistics/serendipity_event_statistics.php

index 0ec5990428212faac15d0591ac18c484981c94e2..ffe3c210412826cdd28122fa33254001d7b72fff 100644 (file)
@@ -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;
                                 }