* adjust for api.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user