1
0
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:
secretr
2011-12-06 09:44:28 +00:00
parent 270b278f43
commit ab4501edd2
10 changed files with 21 additions and 19 deletions

View File

@@ -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)