yingzi 2 gadi atpakaļ
vecāks
revīzija
7f52b0768a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/model/api/User.php

+ 1 - 1
app/model/api/User.php

@@ -288,7 +288,7 @@ class User extends BaseModel
             $endTime = strtotime($post['time'][1]);
             $where[]=["u.regtime","between","{$startTime},{$endTime}"];
         }
-        if($is_admin=1){
+        if($is_admin==1){
             $field = "u.*"
                     . ",p.nickname as p_nickname,p.mobile as p_mobile"
                     . ",wt.title as work_type_title"