* remove the default value again.
This commit is contained in:
@@ -51,7 +51,7 @@ class index extends control
|
||||
$this->view->burns = $burns;
|
||||
$this->view->counts = count($projects);
|
||||
$this->view->actions = $this->dao->select('*')->from(TABLE_ACTION)->orderBy('id desc')->limit(30)->fetchAll();
|
||||
$this->view->users = $this->loadModel('user')->getPairs($this->app->company->id, 'noletter');
|
||||
$this->view->users = $this->loadModel('user')->getPairs();
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ class userModel extends model
|
||||
}
|
||||
|
||||
/* <20><><EFBFBD><EFBFBD>account=>realname<6D><65><EFBFBD>б<EFBFBD><D0B1><EFBFBD>params: noletter|noempty|noclosed<65><64>*/
|
||||
public function getPairs($params = 'noletter', $companyID = 0)
|
||||
public function getPairs($params = '', $companyID = 0)
|
||||
{
|
||||
if($companyID == 0) $companyID = $this->app->company->id;
|
||||
$users = $this->dao->select('account, realname')->from(TABLE_USER)->where('company')->eq((int)$companyID)->orderBy('account')->fetchPairs();
|
||||
|
||||
Reference in New Issue
Block a user