diff options
Diffstat (limited to 'mod/messages/start.php')
-rw-r--r-- | mod/messages/start.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php index de8f42e51..07698d893 100644 --- a/mod/messages/start.php +++ b/mod/messages/start.php @@ -22,7 +22,7 @@ function messages_init() { global $CONFIG; //add submenu options - if (get_context() == "messages") { + if (elgg_get_context() == "messages") { add_submenu_item(elgg_echo('messages:inbox'), "pg/messages/" . get_loggedin_user()->username); add_submenu_item(elgg_echo('messages:sentmessages'), "mod/messages/sent.php"); } |