1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Merge pull request #3643 from SimSync/fix_3561

fixes #3561: modified getTemplateInfo call to load info from templates
This commit is contained in:
Cameron 2019-01-24 11:47:20 -08:00 committed by GitHub
commit cd5b898f06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1160,7 +1160,7 @@ class news_admin_ui extends e_admin_ui
$newsTemplates = array();
if($newInfo = e107::getTemplateInfo('news', 'news')) //TODO 'category'=>'Categories'? research 'Use non-standard template for news layout' and integrate here.
if($newInfo = e107::getTemplateInfo('news', 'news', null, 'front', true)) //TODO 'category'=>'Categories'? research 'Use non-standard template for news layout' and integrate here.
{
foreach($newInfo as $k=>$val)
{