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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user