diff options
author | Jeroen Dalsem <jdalsem@coldtrick.com> | 2012-10-03 14:03:01 +0200 |
---|---|---|
committer | Jeroen Dalsem <jdalsem@coldtrick.com> | 2012-10-03 14:03:01 +0200 |
commit | 9e377f9e006c20c98aa757f1c30228293651a404 (patch) | |
tree | bdc641839fd15b204f83f62c06432399a0293c77 /mod/messages | |
parent | 766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff) | |
download | elgg-9e377f9e006c20c98aa757f1c30228293651a404.tar.gz elgg-9e377f9e006c20c98aa757f1c30228293651a404.tar.bz2 |
fixed incomplete forward url
Diffstat (limited to 'mod/messages')
-rw-r--r-- | mod/messages/pages/messages/read.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/messages/pages/messages/read.php b/mod/messages/pages/messages/read.php index 19e3ecdd7..1a56399d3 100644 --- a/mod/messages/pages/messages/read.php +++ b/mod/messages/pages/messages/read.php @@ -8,8 +8,8 @@ gatekeeper(); $message = get_entity(get_input('guid')); -if (!$message) { - forward('messages/inbox'); +if (!$message || !elgg_instanceof($message, "object", "messages")) { + forward('messages/inbox/' . elgg_get_logged_in_user_entity()->username); } // mark the message as read |