Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit d6accb8

Browse files
author
Charles Ma
committed
STYLE: refs #151 fixed test StyleCoreAppController
1 parent c7387fc commit d6accb8

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

core/AppController.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,17 @@ public function preDispatch()
159159
$recentItems = array();
160160
if(!empty($tmpRecentItems) && is_array($tmpRecentItems))
161161
{
162-
foreach($tmpRecentItems as $key => $t)
163-
{
164-
if(is_numeric($t))
165-
{
166-
$item = $itemModel->load($t);
167-
if($item !== false)
168-
{
169-
$recentItems[] = $item->toArray();
170-
}
171-
}
172-
}
162+
foreach($tmpRecentItems as $key => $t)
163+
{
164+
if(is_numeric($t))
165+
{
166+
$item = $itemModel->load($t);
167+
if($item !== false)
168+
{
169+
$recentItems[] = $item->toArray();
170+
}
171+
}
172+
}
173173
}
174174

175175
$this->view->recentItems = $recentItems;

0 commit comments

Comments
 (0)