zxhxx 3 년 전
부모
커밋
66efbdcb80
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/admin/controller/Lave.php

+ 1 - 1
application/admin/controller/Lave.php

@@ -48,7 +48,7 @@ class Lave extends Backend
              */
             if(is_array(is_sys_admin()))
             {
-                $where1[] = is_sys_admin();
+                $where1['cid'] = is_sys_admin()['cid'];
             }
             $list = $this->model
                 ->where($where)->where($where1)