diff options
Diffstat (limited to 'admin/post')
-rw-r--r-- | admin/post/index.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/post/index.php b/admin/post/index.php index 79fbf92..8eedfbd 100644 --- a/admin/post/index.php +++ b/admin/post/index.php @@ -35,10 +35,7 @@ foreach($postIDs as $postID) { try { $Post = Post\Factory::build($postID); $User = User\Factory::build($Post->get('user')); - - $ItemTemplate = generatePostItemTemplate($Post, $User); - - $templates[] = $ItemTemplate; + $templates[] = generatePostItemTemplate($Post, $User); } catch(Post\Exception $Exception){} catch(User\Exception $Exception){} |