aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/notifications/index.php')
-rw-r--r--mod/notifications/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index f970dfc32..30ee1b74b 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.php
@@ -14,7 +14,7 @@ gatekeeper();
set_page_owner(elgg_get_logged_in_user_guid());
$js_url = elgg_get_simplecache_url('js', 'friendsPickerv1');
-elgg_register_js($js_url, 'friendsPicker');
+elgg_register_js('friendsPicker', $js_url);
// Set the context to settings
elgg_set_context('settings');