<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: [fixed] utf.php -- substr error</title>
  <link>http://www.activecollab.com/forums/topic/145/</link>
  <description>Recent posts on topic: [fixed] utf.php -- substr error</description>
  <dc:language>en-us</dc:language>
  <pubDate>Sun, 23 Nov 2008 13:39:41 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/739/#post739</link>
    <guid>http://www.activecollab.com/forums/post/739/#post739</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Hi,<br />
<br />
This is one of the known bugs and one that was fixed first. This fix (and &quot;few&quot; other) is available in <a href="http://forum.activecollab.com/viewtopic.php?id=117" target="_blank" rel="nofollow">aC 0.6 community preview</a>.<br />
<br />
Thanks for the report.<br />
<br />
<div class="postQuote"><blockquote>GREAT PRODUCT - I love it so far!</blockquote></div><br />
Thank you. I'm really happy that you like ti.</p>]]></description>
    <pubDate>Wed, 12 Jul 2006 19:49:16 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/724/#post724</link>
    <guid>http://www.activecollab.com/forums/post/724/#post724</guid>
    <title>Post #1 by sean.dudley</title>
    <dc:creator>sean.dudley</dc:creator>
    <description><![CDATA[<p>When marking a task as complete I received a &quot;too few paramaters&quot; error for substr in &quot;utf.php&quot; on line 37.  I noticed this function:<br />
<pre name="code" class="html"> 
  function strlen_utf($string) {
    if(function_exists('mb_strlen')) {
      return mb_strlen($string);
    } else {
      return substr($string); &lt;--- line 37
    } // if
  } // strlen_utf</pre><br />
Notice the second return, judging by the rest of the file I assume this was the intended structure:<br />
<pre name="code" class="html">  function strlen_utf($string) {
    if(function_exists('mb_strlen')) {
      return mb_strlen($string);
    } else {
      return strlen($string); &lt;--- fixed line 37
    } // if
  } // strlen_utf</pre><br />
After the above change all is well - task completion works without errors.<br />
<br />
PS: GREAT PRODUCT - I love it so far!</p>]]></description>
    <pubDate>Wed, 12 Jul 2006 18:08:15 UTC</pubDate>
  </item>
</channel>
</rss>