mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-16 23:00:51 +03:00
fix #419
This commit is contained in:
parent
ef592e10bf
commit
df1473b5c5
|
@ -83,6 +83,12 @@ class ActionTag extends Action {
|
|||
$this->Viewer_AddHtmlTitle($this->Lang_Get('tag_title'));
|
||||
$this->Viewer_AddHtmlTitle($sTag);
|
||||
$this->Viewer_SetHtmlRssAlternate(Router::GetPath('rss').'tag/'.$sTag.'/',$sTag);
|
||||
/**
|
||||
* Если не удалось найти топиков, то ыставляем 404 заголовок
|
||||
*/
|
||||
if (!count($aTopics)) {
|
||||
header("HTTP/1.1 404 Not Found");
|
||||
}
|
||||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue