]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
missed this use of elgg_count_comments() in change to ->countComments()
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 6 Feb 2011 20:04:12 +0000 (20:04 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 6 Feb 2011 20:04:12 +0000 (20:04 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8049 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/bookmarks/views/default/object/bookmarks.php

index ccb02457ce94c1f15c21f626c846137dcf07df61..7d2370c194d752be46e9763e5ad7089837a92195 100644 (file)
@@ -28,7 +28,7 @@ $author_text = elgg_echo('blog:author_by_line', array($owner_link));
 $tags = elgg_view('output/tags', array('tags' => $bookmark->tags));
 $date = elgg_view_friendly_time($bookmark->time_created);
 
-$comments_count = elgg_count_comments($bookmark);
+$comments_count = $bookmark->countComments();
 //only display if there are commments
 if ($comments_count != 0) {
        $text = elgg_echo("comments") . " ($comments_count)";