rabin 2 năm trước cách đây
mục cha
commit
88969d9506
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/Company.php

+ 3 - 0
src/Company.php

@@ -212,6 +212,9 @@ class Company extends Save
 
     public function getGroupName($group)
     {
+        if (!$group) {
+            return '';
+        }
         $html = array();
         $where['ids'] = $group;
         $group = Dever::db('manage/group')->getData($where);