[fixed] utf.php -- substr error
Page: 1
sean.dudley
on Jul 12. 2006. 6:08 pm
When marking a task as complete I received a "too few paramaters" error for substr in "utf.php" on line 37. I noticed this function:
Notice the second return, judging by the rest of the file I assume this was the intended structure:
After the above change all is well - task completion works without errors.
PS: GREAT PRODUCT - I love it so far!
function strlen_utf($string) {
if(function_exists('mb_strlen')) {
return mb_strlen($string);
} else {
return substr($string); <--- line 37
} // if
} // strlen_utfNotice the second return, judging by the rest of the file I assume this was the intended structure:
function strlen_utf($string) {
if(function_exists('mb_strlen')) {
return mb_strlen($string);
} else {
return strlen($string); <--- fixed line 37
} // if
} // strlen_utfAfter the above change all is well - task completion works without errors.
PS: GREAT PRODUCT - I love it so far!
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.



