This commit is contained in:
tianshujie
2023-09-19 10:14:04 +08:00
parent ae79b96f04
commit 9cc8100f55
2 changed files with 9 additions and 2 deletions
+7 -1
View File
@@ -121,7 +121,13 @@ class userModel extends model
$this->config->user->moreLink = $moreLink;
}
if($usersToAppended) $users += $this->dao->select($fields)->from(TABLE_USER)->where('account')->in($usersToAppended)->fetchAll($keyField);
if($usersToAppended)
{
$users += $this->dao->select($fields)->from(TABLE_USER)
->where('account')->in($usersToAppended)
->beginIF(strpos($params, 'nodeleted') !== false)->andWhere('deleted')->eq('0')->fi()
->fetchAll($keyField);
}
/* Cycle the user records to append the first letter of his account. */
foreach($users as $account => $user)