forked from extern/egroupware
Cast legacy options to string, in case someone passed in a number or something.
Fixes error loading tracker configuration with queue other than all.
This commit is contained in:
parent
f456109f5b
commit
ad3e1e5021
@ -509,8 +509,8 @@ var et2_widget = ClassWithAttributes.extend(
|
|||||||
attrValue = mgr.expandName(attrValue);
|
attrValue = mgr.expandName(attrValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse the legacy options
|
// Parse the legacy options (as a string, other types not allowed)
|
||||||
var splitted = et2_csvSplit(attrValue);
|
var splitted = et2_csvSplit(attrValue+"");
|
||||||
|
|
||||||
for (var j = 0; j < splitted.length && j < _proto.legacyOptions.length; j++)
|
for (var j = 0; j < splitted.length && j < _proto.legacyOptions.length; j++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user