aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/all.php')
-rw-r--r--mod/bookmarks/all.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/bookmarks/all.php b/mod/bookmarks/all.php
index 88258c855..a4bdae7af 100644
--- a/mod/bookmarks/all.php
+++ b/mod/bookmarks/all.php
@@ -28,7 +28,8 @@ if(isloggedin()){
$area3 .= elgg_view("bookmarks/bookmarklet");
}
// include statistics
-$area3 .= elgg_view("bookmarks/stats");
+$count = elgg_get_entities(array('type' => 'object', 'subtype' => 'bookmarks', 'count' => true));
+$area3 .= elgg_view("bookmarks/stats", array('count' => $count));
// Format page
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3);