1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Broken stristr utf8 support

This commit is contained in:
SecretR
2014-08-17 15:15:40 +03:00
parent bad036d9c9
commit ad52e0a673

View File

@@ -441,7 +441,7 @@ class e_parse extends e_parser
return mb_substr($haystack, $needle, $before_needle);
}
// No utf8 pack backup
return stristr($str, $start, $length);
return stristr($haystack, $needle, $before_needle);
}
/**