aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-01-23 07:16:15 -0500
committerCash Costello <cash.costello@gmail.com>2013-01-23 07:16:15 -0500
commitb60f6e6b921c2d25867c23790130be9a0386c0a4 (patch)
tree1670730a6bc1ce3bc09899df881f186eeb2f9683 /mod/bookmarks
parente60f092f80d247fbdc3089689bbf5ddb229762db (diff)
downloadelgg-b60f6e6b921c2d25867c23790130be9a0386c0a4.tar.gz
elgg-b60f6e6b921c2d25867c23790130be9a0386c0a4.tar.bz2
better solution for 1.7 file compatibility than pull request 471
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/start.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php
index 66e22b565..3846f5165 100644
--- a/mod/bookmarks/start.php
+++ b/mod/bookmarks/start.php
@@ -125,11 +125,14 @@ function bookmarks_page_handler($page) {
include "$pages/friends.php";
break;
- case "read":
case "view":
set_input('guid', $page[1]);
include "$pages/view.php";
break;
+ case 'read': // Elgg 1.7 compatibility
+ register_error(elgg_echo("changebookmark"));
+ forward("bookmarks/view/{$page[1]}");
+ break;
case "add":
gatekeeper();