diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-04 04:07:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:45 -0500 |
commit | 318ac84440754b467cdfb363a47e3fafce1b0fec (patch) | |
tree | dda7c8f1d65d78add10252224454eaf709bac6f0 /source4/scripting | |
parent | 40b13059968f2f2ebcdd6dedc95c2d152d23b5ec (diff) | |
download | samba-318ac84440754b467cdfb363a47e3fafce1b0fec.tar.gz samba-318ac84440754b467cdfb363a47e3fafce1b0fec.tar.bz2 samba-318ac84440754b467cdfb363a47e3fafce1b0fec.zip |
r11500: fixed a bug in the variable substition code using the new limit argument to split()
(This used to be commit 25131efea8c1a2b0bfa7f999766ebcbab8fa8006)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/libjs/base.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/base.js b/source4/scripting/libjs/base.js index 8a07f4e383..fbceabf993 100644 --- a/source4/scripting/libjs/base.js +++ b/source4/scripting/libjs/base.js @@ -71,7 +71,7 @@ function substitute_var(str, subobj) 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; } |