svn commit: samba r11500 - in
branches/SAMBA_4_0/source/scripting/libjs: .
tridge at samba.org
tridge at samba.org
Fri Nov 4 04:07:25 GMT 2005
Author: tridge
Date: 2005-11-04 04:07:24 +0000 (Fri, 04 Nov 2005)
New Revision: 11500
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11500
Log:
fixed a bug in the variable substition code using the new limit argument to split()
Modified:
branches/SAMBA_4_0/source/scripting/libjs/base.js
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/base.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/base.js 2005-11-04 04:06:35 UTC (rev 11499)
+++ branches/SAMBA_4_0/source/scripting/libjs/base.js 2005-11-04 04:07:24 UTC (rev 11500)
@@ -71,7 +71,7 @@
var list = split("${", str);
var i;
for (i=1;i<list.length;i++) {
- var list2 = split("}", list[i]);
+ var list2 = split("}", list[i], 1);
if (list2.length < 2) {
return undefined;
}
More information about the samba-cvs
mailing list