aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index 0c0d1efad..7450ea78a 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -32,7 +32,7 @@ function thewire_init() {
elgg_register_page_handler('thewire', 'thewire_page_handler');
// Register a URL handler for thewire posts
- register_entity_url_handler('thewire_url', 'object', 'thewire');
+ elgg_register_entity_url_handler('object', 'thewire', 'thewire_url');
// Your thewire widget
add_widget_type('thewire', elgg_echo('thewire'), elgg_echo("thewire:widget:desc"));