404
This commit is contained in:
parent
d2e5f8b3e8
commit
b996521fcb
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user