diff --git a/api/js/etemplate/Et2Widget/Et2Widget.ts b/api/js/etemplate/Et2Widget/Et2Widget.ts index f8a4b6ad31..cd16ad159f 100644 --- a/api/js/etemplate/Et2Widget/Et2Widget.ts +++ b/api/js/etemplate/Et2Widget/Et2Widget.ts @@ -1387,7 +1387,7 @@ function transformAttributes(widget, mgr : et2_arrayMgr, attributes) break; default: attrValue = mgr ? mgr.expandName("" + attrValue) : attrValue; - if(attrValue && !attributes.no_lang && widget_class.translate[attribute]) + if(attrValue && typeof attrValue == "string" && !attributes.no_lang && widget_class.translate[attribute]) { // allow attribute to contain multiple translated sub-strings eg: {Firstname}.{Lastname} if(attrValue.indexOf('{') !== -1)