mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 10:01:56 +02:00
minor bugs, notice cleanup, missing e_SELF/e_QUERY fixes
This commit is contained in:
@@ -675,7 +675,7 @@ class e_news_tree extends e_front_tree_model
|
||||
{
|
||||
$vars->counter = $i;
|
||||
$batch->setScVar('news_item', $news->getData());
|
||||
$ret[] = $parser->parseTemplate($template['item'], true, $obj, $vars);
|
||||
$ret[] = $parser->parseTemplate($template['item'], true, $batch, $vars);
|
||||
$i++;
|
||||
}
|
||||
|
||||
@@ -888,7 +888,7 @@ class e_news_category_tree extends e_front_tree_model
|
||||
if($ret)
|
||||
{
|
||||
$separator = varset($template['separator'], '');
|
||||
$ret = $template['start'].implode($separator, $ret).$templatep['end'];
|
||||
$ret = $template['start'].implode($separator, $ret).$template['end'];
|
||||
$return = isset($parms['return']) ? true : false;
|
||||
|
||||
if($tablerender)
|
||||
|
Reference in New Issue
Block a user