Avoid duplication of global categories due to integer values

This commit is contained in:
Nathan Gray 2016-01-25 19:16:19 +00:00
parent a68e94a197
commit 369a478733

View File

@ -927,7 +927,7 @@ jQuery.extend(et2_selectbox,
// Override any existing // Override any existing
for(var j in type_options) for(var j in type_options)
{ {
if(type_options[j].value === value) if(''+type_options[j].value === ''+value)
{ {
added = true; added = true;
type_options[j] = content_options[i]; type_options[j] = content_options[i];