Login or Register

RSS IconRecent posts in this topic

avatar
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:
 
  function strlen_utf($string) {
    if(function_exists('mb_strlen')) {
      return mb_strlen($string);
    } else {
      return substr($string); <--- line 37
    } // if
  } // strlen_utf

Notice 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_utf

After the above change all is well - task completion works without errors.

PS: GREAT PRODUCT - I love it so far!
avatar Staff
Ilija Studen on Jul 12. 2006. 7:49 pm
Hi,

This is one of the known bugs and one that was fixed first. This fix (and "few" other) is available in aC 0.6 community preview.

Thanks for the report.

GREAT PRODUCT - I love it so far!

Thank you. I'm really happy that you like ti.
activeCollab team member | LinkedIn
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic