404
This commit is contained in:
parent
d2e5f8b3e8
commit
b996521fcb
@ -27,7 +27,7 @@ class PostController extends FrontController
|
||||
|
||||
// Categories
|
||||
if ($id_category == 0) {
|
||||
// Error
|
||||
Tools::display404Error('404.php');
|
||||
}
|
||||
else {
|
||||
// Category
|
||||
@ -126,8 +126,8 @@ class PostController extends FrontController
|
||||
));
|
||||
|
||||
$metaTags = Tools::completeMetaTags(array(
|
||||
'meta_description' => '',
|
||||
'meta_keywords' => '',
|
||||
'meta_description' => $content['meta_description'],
|
||||
'meta_keywords' => $content['meta_keywords'],
|
||||
), $content['meta_title']);
|
||||
self::$smarty->assign($metaTags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user