aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/start.php')
-rw-r--r--mod/bookmarks/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 92ee7e421..ca367deb2 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -57,7 +57,7 @@ function bookmarks_pagesetup() {
// Add group bookmark menu item
if (isloggedin()) {
- if ($page_owner instanceof ElggGroup && get_context() == 'groups') {
+ if ($page_owner instanceof ElggGroup && elgg_get_context() == 'groups') {
if ($page_owner->bookmarks_enable != "no") {
//add_submenu_item(sprintf(elgg_echo("bookmarks:group"),$page_owner->name), "pg/bookmarks/" . $page_owner->username . '/items');
}