1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Issue #1472 - e_PAGETITLE - requires testing.

This commit is contained in:
Cameron
2016-05-23 12:42:57 -07:00
parent a674ca0201
commit be41e46306

View File

@@ -341,11 +341,11 @@ if ($action == 'cat' || $action == 'all' || !empty($_GET['tag']) || !empty($_GET
{
setNewsFrontMeta($newsList[1], 'category');
}
elseif($category_name)
{
define('e_PAGETITLE', $tp->toHTML($category_name,FALSE,'TITLE'));
}
// elseif($category_name)
// {
// define('e_PAGETITLE', $tp->toHTML($category_name,FALSE,'TITLE'));
// }
e107::getDebug()->log("PageTitle: ".e_PAGETITLE);
$currentNewsAction = $action;
require_once(HEADERF);
$action = $currentNewsAction;