|
@@ -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);
|