diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-01-23 07:16:15 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-01-23 07:16:15 -0500 |
commit | b60f6e6b921c2d25867c23790130be9a0386c0a4 (patch) | |
tree | 1670730a6bc1ce3bc09899df881f186eeb2f9683 /mod/blog | |
parent | e60f092f80d247fbdc3089689bbf5ddb229762db (diff) | |
download | elgg-b60f6e6b921c2d25867c23790130be9a0386c0a4.tar.gz elgg-b60f6e6b921c2d25867c23790130be9a0386c0a4.tar.bz2 |
better solution for 1.7 file compatibility than pull request 471
Diffstat (limited to 'mod/blog')
-rw-r--r-- | mod/blog/start.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php index 8cbaf5cca..eb6eee05f 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -124,9 +124,12 @@ function blog_page_handler($page) { $params = blog_get_page_content_archive($user->guid, $page[2], $page[3]); break; case 'view': - case 'read': // Elgg 1.7 compatibility $params = blog_get_page_content_read($page[1]); break; + case 'read': // Elgg 1.7 compatibility + register_error(elgg_echo("changebookmark")); + forward("blog/view/{$page[1]}"); + break; case 'add': gatekeeper(); $params = blog_get_page_content_edit($page_type, $page[1]); |