wzh 5 năm trước cách đây
mục cha
commit
0127816275
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);