aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/start.php b/mod/messages/start.php
index 491bdab15..da85a09ef 100644
--- a/mod/messages/start.php
+++ b/mod/messages/start.php
@@ -40,7 +40,7 @@ function messages_init() {
elgg_register_page_handler('messages', 'messages_page_handler');
// Register a URL handler
- register_entity_url_handler('messages_url', 'object', 'messages');
+ elgg_register_entity_url_handler('object', 'messages', 'messages_url');
// Extend avatar hover menu
elgg_register_plugin_hook_handler('register', 'menu:user_hover', 'messages_user_hover_menu');