修改分平台的管理员列表功能

This commit is contained in:
wlx 2014-06-11 08:14:58 +00:00
parent f0f0e639b5
commit 47880eab18
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class Admin_UserController extends Zend_Controller_Action
{ {
$select=$this->db->select(); $select=$this->db->select();
$select->from('users') $select->from('users')
->where('usertype = ?', 'administrator') ->where('usertype = ?', $this->view->config->auth->identifier)
->order('users.id desc'); ->order('users.id desc');