AntonLV 12 лет назад
Родитель
Сommit
7e149170b4
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      studio/template/scripts/BxBaseStudioStore.php

+ 3 - 0
studio/template/scripts/BxBaseStudioStore.php

@@ -629,6 +629,9 @@ class BxBaseStudioStore extends BxDolStudioStore
         if(!is_array($aItems))
             return $aItems;
 
+		if(empty($aItems))
+			return MsgBox(_t('_Empty'));
+
         $sJsObject = $this->getPageJsObject();
         $oTemplate = BxDolStudioTemplate::getInstance();