This commit is contained in:
Michael RICOIS 2017-11-20 14:54:19 +01:00
parent d2e5f8b3e8
commit b996521fcb

View File

@ -27,7 +27,7 @@ class PostController extends FrontController
// Categories // Categories
if ($id_category == 0) { if ($id_category == 0) {
// Error Tools::display404Error('404.php');
} }
else { else {
// Category // Category
@ -126,8 +126,8 @@ class PostController extends FrontController
)); ));
$metaTags = Tools::completeMetaTags(array( $metaTags = Tools::completeMetaTags(array(
'meta_description' => '', 'meta_description' => $content['meta_description'],
'meta_keywords' => '', 'meta_keywords' => $content['meta_keywords'],
), $content['meta_title']); ), $content['meta_title']);
self::$smarty->assign($metaTags); self::$smarty->assign($metaTags);
} }