* Fix bug #36013.
This commit is contained in:
@@ -275,10 +275,14 @@ class mail extends control
|
||||
return print(js::alert($this->lang->mail->successSended) . js::locate(inlink('test'), 'parent'));
|
||||
}
|
||||
|
||||
$users = $this->dao->select('*')->from(TABLE_USER)->where('email')->ne('')->andWhere('deleted')->eq(0)->orderBy('account')->fetchAll();
|
||||
$userPairs = array();
|
||||
foreach($users as $user) $userPairs[$user->account] = $user->realname . ' ' . $user->email;
|
||||
|
||||
$this->view->title = $this->lang->mail->common . $this->lang->colon . $this->lang->mail->test;
|
||||
$this->view->position[] = html::a(inlink('index'), $this->lang->mail->common);
|
||||
$this->view->position[] = $this->lang->mail->test;
|
||||
$this->view->users = $this->dao->select('account, CONCAT(realname, " ", email) AS email' )->from(TABLE_USER)->where('email')->ne('')->andWhere('deleted')->eq(0)->orderBy('account')->fetchPairs();
|
||||
$this->view->users = $userPairs;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user