diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-06 20:04:12 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-06 20:04:12 +0000 |
commit | 61197684ae861488cd3718fcaa96ab655b37e426 (patch) | |
tree | 2ef5dc23a31dba3bf1b35dd1510d2a1258b7807c /mod/bookmarks | |
parent | d35c99c3a9c7397b448b29db7407501b4824357e (diff) | |
download | elgg-61197684ae861488cd3718fcaa96ab655b37e426.tar.gz elgg-61197684ae861488cd3718fcaa96ab655b37e426.tar.bz2 |
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
Diffstat (limited to 'mod/bookmarks')
-rw-r--r-- | mod/bookmarks/views/default/object/bookmarks.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)"; |