Revision: 1212
http://mrbs.svn.sourceforge.net/mrbs/?rev=1212&view=rev
Author: cimorrison
Date: 2009-10-02 10:05:30 +0000 (Fri, 02 Oct 2009)
Log Message:
-----------
Changed name of optional third parameter in utf8_substr() from $end to $length
to make it less confusing.
Modified Paths:
--------------
mrbs/trunk/web/language.inc
Modified: mrbs/trunk/web/language.inc
===================================================================
--- mrbs/trunk/web/language.inc 2009-10-01 23:22:55 UTC (rev 1211)
+++ mrbs/trunk/web/language.inc 2009-10-02 10:05:30 UTC (rev 1212)
@@ -771,10 +771,10 @@
preg_match_all("/./su", $str, $ar);
if(func_num_args() >= 3) {
- $end = func_get_arg(2);
- return join("",array_slice($ar[0],$start,$end));
+ $length = func_get_arg(2);
+ return join("", array_slice($ar[0], $start, $length));
} else {
- return join("",array_slice($ar[0],$start));
+ return join("", array_slice($ar[0], $start));
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits