functions.inc.php (Bugs)
Hello
Fixed a bug in "/forum/includes/functions.inc.php"
Code snippets from: "/forum/includes/functions.inc.php" line 2143 to 2153 on error line 2147
change to
function my_strlen($string, $encoding='utf-8') { if(function_exists('mb_strlen')) { return @mb_strlen($string, $encoding); } else { return strlen($string); } }
if not a warning(s) is displayet on top of the forum "Not good"
The function gets a string and the encoding. In wich using scenario there could popup a warning? Any examples?
Tschö, Auge
--
Trenne niemals Müll, denn er hat nur eine Silbe!