zxhxx 3 år sedan
förälder
incheckning
2dcf1bdadb
1 ändrade filer med 2 tillägg och 3 borttagningar
  1. 2 3
      application/admin/controller/Lave.php

+ 2 - 3
application/admin/controller/Lave.php

@@ -48,11 +48,10 @@ class Lave extends Backend
              */
             if(is_array(is_sys_admin()))
             {
-                dump(is_sys_admin());
-                $where[] = is_sys_admin();
+                $where1[] = is_sys_admin();
             }
             $list = $this->model
-                ->where($where)
+                ->where($where)->where($where1)
                 ->order($sort, $order)
                 ->paginate($limit);
             if($list) {