aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/blog/start.php')
-rw-r--r--mod/blog/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 92ce44961..04197aa4e 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -35,7 +35,7 @@ function blog_init() {
elgg_register_page_handler('blog', 'blog_page_handler');
// override the default url to view a blog object
- register_entity_url_handler('blog_url_handler', 'object', 'blog');
+ elgg_register_entity_url_handler('object', 'blog', 'blog_url_handler');
// notifications
register_notification_object('object', 'blog', elgg_echo('blog:newpost'));