1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-27 01:40:22 +02:00

Issue #1472 - e_PAGETITLE - requires testing.

This commit is contained in:
Cameron
2016-05-24 11:08:53 -07:00
parent f91eaacda9
commit 989fc5ccd1

View File

@@ -807,7 +807,7 @@ switch($action)
case 'list': case 'list':
default: default:
setNewsFrontMeta($newsAr[1], 'category'); setNewsFrontMeta($newsAr[1], 'list');
break; break;
} }
@@ -1265,7 +1265,7 @@ function setNewsFrontMeta($news, $type='news')
if($news['category_name'] && !defined('e_PAGETITLE')) if($news['category_name'] && !defined('e_PAGETITLE') && $type == 'category')
{ {
define('e_PAGETITLE', $tp->toHtml($news['category_name'],false,'TITLE_PLAIN')); define('e_PAGETITLE', $tp->toHtml($news['category_name'],false,'TITLE_PLAIN'));
} }