wzh 5 年之前
父節點
當前提交
0127816275
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/application/controllers/User.php

+ 1 - 1
api/application/controllers/User.php

@@ -77,7 +77,7 @@ class User extends Base_Controller{
 		
 		$id = $this->get_user_info('id');
 
-		$where = array(['id !=' => $id]);
+		$where = array('id !=' => $id);
 		if ($role != SYSTEM_ADMIN) $where['pid'] = $id;
 
 		$data['total'] = $this->User_model->get_count($where);