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)