1
0
This commit is contained in:
Garvin Hicking
2011-11-24 12:16:02 +01:00
parent 23e5de77b7
commit 2749dc54ad
17 changed files with 585 additions and 583 deletions

@ -430,7 +430,7 @@ function serendipity_printComments($comments, $parentid = 0, $depth = 0, $trace
return true;
}
$serendipity['smarty']->assign_by_ref($smarty_block == 'COMMENTS'?'comments':'trackbacks', $_smartyComments);
$serendipity['smarty']->assignByRef($smarty_block == 'COMMENTS'?'comments':'trackbacks', $_smartyComments);
unset($_smartyComments);
return serendipity_smarty_fetch($smarty_block, $smarty_file);
@ -487,7 +487,7 @@ function serendipity_printCommentsByAuthor() {
$entry_comments[$entry_id]['tpl_comments'] =& serendipity_printComments($_data['comments'], VIEWMODE_LINEAR, 0, null, 'COMMENTS', 'comments.tpl');
}
$serendipity['smarty']->assign_by_ref('comments_by_authors', $entry_comments);
$serendipity['smarty']->assignByRef('comments_by_authors', $entry_comments);
if (!empty($id)) {
$and .= " AND co.entry_id = '" . (int)$id ."'";