diff --git a/plugins/SitesManager/angularjs/sites-manager/api-helper.service.js b/plugins/SitesManager/angularjs/sites-manager/api-helper.service.js index 1d6902d3143bb27dae0003bb9cb106a4785413bc..9811cde6cc1f5c27c2f98815d9cc37b0122c905f 100644 --- a/plugins/SitesManager/angularjs/sites-manager/api-helper.service.js +++ b/plugins/SitesManager/angularjs/sites-manager/api-helper.service.js @@ -43,7 +43,7 @@ function commaDelimitedFieldToArray (value) { - if(value === undefined || value === null || value === '') + if(!value) return []; return value.split(',');