diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-13 14:42:30 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-13 14:42:30 -0700 |
commit | 901cb69ba0b40d247bea5b0e1b4e4588a86800c1 (patch) | |
tree | 219721ed17c67eae4a3e9ff946e756ffdd01e9d6 /mod/bookmarks/start.php | |
parent | 0b00af1e77d7ffc5c739f7fa21f61886b5480e62 (diff) | |
parent | d6953c9955b2b9e3c245936e448e7be41058bb9b (diff) | |
download | elgg-901cb69ba0b40d247bea5b0e1b4e4588a86800c1.tar.gz elgg-901cb69ba0b40d247bea5b0e1b4e4588a86800c1.tar.bz2 |
Merge pull request #318 from sembrestels/handle-all
Fixes #4687. Handle URLs on plugins that include only handler name.
Diffstat (limited to 'mod/bookmarks/start.php')
-rw-r--r-- | mod/bookmarks/start.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index 56bac984a..66e22b565 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -86,8 +86,13 @@ function bookmarks_init() { * @return bool */ function bookmarks_page_handler($page) { + elgg_load_library('elgg:bookmarks'); + if (!isset($page[0])) { + $page[0] = 'all'; + } + elgg_push_breadcrumb(elgg_echo('bookmarks'), 'bookmarks/all'); // old group usernames |