diff --git a/layouts/v7/modules/Vtiger/uitypes/PickListFieldSearchView.tpl b/layouts/v7/modules/Vtiger/uitypes/PickListFieldSearchView.tpl index fa6ea010f0bbe472b38e2aa515203300ed7cbd4d..302187d312911d88245b0aaf5b21c901f1686851 100644 --- a/layouts/v7/modules/Vtiger/uitypes/PickListFieldSearchView.tpl +++ b/layouts/v7/modules/Vtiger/uitypes/PickListFieldSearchView.tpl @@ -16,7 +16,7 @@ {if isset($SEARCH_INFO['searchValue']) && $SEARCH_INFO['searchValue'] !== null} {assign var=SEARCH_VALUES value=explode(',', $SEARCH_INFO['searchValue'])} {else} - {assign var=SEARCH_VALUES value=[]} + {assign var=SEARCH_VALUES value=array()} {/if} <div class="select2_search_div"> <input type="text" class="listSearchContributor inputElement select2_input_element"/>