From 61197684ae861488cd3718fcaa96ab655b37e426 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Feb 2011 20:04:12 +0000 Subject: missed this use of elgg_count_comments() in change to ->countComments() git-svn-id: http://code.elgg.org/elgg/trunk@8049 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/views/default/object/bookmarks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/bookmarks/views/default/object') diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php index ccb02457c..7d2370c19 100644 --- a/mod/bookmarks/views/default/object/bookmarks.php +++ b/mod/bookmarks/views/default/object/bookmarks.php @@ -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)"; -- cgit v1.2.3