Fixed indexOfIgnoreCase method
authorMarcel Werk <burntime@woltlab.com>
Sun, 18 Aug 2013 18:12:47 +0000 (20:12 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 18 Aug 2013 18:12:47 +0000 (20:12 +0200)
wcfsetup/install/files/lib/util/StringUtil.class.php

index fbcc9e7f8719d08afba6e63fa5bd4038ac5904a6..ddc960892126c3c093ee6266c78eab4de3b7997b 100644 (file)
@@ -267,12 +267,12 @@ final class StringUtil {
        }
        
        /**
-        * Alias to php stripos() function with multibyte support.
+        * Alias to php mb_stripos() function.
         * 
-        * @deprecated use mb_strripos() instead
+        * @deprecated use mb_stripos() instead
         */
        public static function indexOfIgnoreCase($hayStack, $needle, $offset = 0) {
-               return mb_strripos($hayStack, $needle, $offset);
+               return mb_stripos($hayStack, $needle, $offset);
        }
        
        /**