* adjust for api.

This commit is contained in:
王怡栋
2021-11-29 13:06:47 +08:00
parent 4b57e8627b
commit 8fc78ccd45
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -73,9 +73,9 @@ class storyEntry extends Entry
$story->mailto = $mailto;
$reviewedBy = array();
if($story->reviewedBy)
if($story->reviewer)
{
foreach(explode(',', $story->reviewedBy) as $account)
foreach($story->reviewer as $account)
{
if(empty($account)) continue;
$reviewedBy[] = $this->formatUser($account, $data->data->users);
-2
View File
@@ -60,8 +60,6 @@ class userModel extends model
return $this->dao->select('id,account,realname,avatar,role')->from(TABLE_USER)
->where('account')->in($accounts)
->andWhere('deleted')->eq(0)
->andWhere('type')->eq('inside')
->fetchAll($keyField);
}