1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Magic Shortcodes added. Fix for news 'view' rendering.

This commit is contained in:
Cameron
2019-06-12 20:20:09 -07:00
parent e5061e2c01
commit 37e7a4c996
5 changed files with 79 additions and 54 deletions

View File

@@ -406,7 +406,7 @@ class news {
$text = e107::getParser()->parseTemplate($NEWS_PARSE, true, $sc);
if ($mode == 'return')
if ($mode == 'return' || !empty($param['return']))
{
return $text;
}