mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
r11500: fixed a bug in the variable substition code using the new limit argument to split()
(This used to be commit 25131efea8c1a2b0bfa7f999766ebcbab8fa8006)
This commit is contained in:
parent
40b1305996
commit
318ac84440
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user