Use compact where possible in ForumController

This commit is contained in:
DariusIII
2019-02-27 10:43:05 +01:00
parent 14417614fd
commit 3329c2a5b2
2 changed files with 2 additions and 6 deletions
+1 -6
View File
@@ -149,12 +149,7 @@ class ForumController extends BasePageController
$content = $this->smarty->fetch('post_edit.tpl');
$this->smarty->assign(
[
'content' => $content,
'meta_title' => $meta_title,
'meta_keywords' => $meta_keywords,
'meta_description' => $meta_description,
]
compact('content', 'meta_title', 'meta_keywords', 'meta_description')
);
$this->pagerender();
}