aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invitefriends/start.php')
-rw-r--r--mod/invitefriends/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php
index 4b039bac3..19a4c4b55 100644
--- a/mod/invitefriends/start.php
+++ b/mod/invitefriends/start.php
@@ -10,9 +10,9 @@
*/
function invitefriends_pagesetup() {
global $CONFIG;
- if (get_context() == "friends" ||
- get_context() == "friendsof" ||
- get_context() == "collections") {
+ if (elgg_get_context() == "friends" ||
+ elgg_get_context() == "friendsof" ||
+ elgg_get_context() == "collections") {
add_submenu_item(elgg_echo('friends:invite'), "mod/invitefriends/",'invite');
}
}