clarifications around 'str'

This commit is contained in:
gnembon committed 2020-05-03 23:10:09 -03:00
1 parent 2ec095a1bf
commit 15ac3edc19
2 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -1575,7 +1575,7 @@ public class Expression
if (lv.size() == 1)
return new StringValue(format);
int argIndex = 1;
if (lv.get(1) instanceof ListValue)
if (lv.get(1) instanceof ListValue && lv.size() == 2)
{
lv = ((ListValue) lv.get(1)).getItems();
argIndex = 0;