diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-01 19:37:54 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-01 19:37:54 -0700 |
commit | ada8223990731b515e74ecda7a494ced4bf7dda4 (patch) | |
tree | 1a9b49952d4afd6e501420a46b8269844438a8cd | |
parent | bcd5b0e59e4ea7191475e30397578859315cf2bb (diff) | |
parent | 089a086695f0f0b3ee70709bff72be37c0618407 (diff) | |
download | elgg-ada8223990731b515e74ecda7a494ced4bf7dda4.tar.gz elgg-ada8223990731b515e74ecda7a494ced4bf7dda4.tar.bz2 |
Merge pull request #292 from sembrestels/messages-redirect
Redirect to inbox when a message can't be shown.
-rw-r--r-- | mod/messages/pages/messages/read.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/messages/pages/messages/read.php b/mod/messages/pages/messages/read.php index d41551be4..19e3ecdd7 100644 --- a/mod/messages/pages/messages/read.php +++ b/mod/messages/pages/messages/read.php @@ -9,7 +9,7 @@ gatekeeper(); $message = get_entity(get_input('guid')); if (!$message) { - forward(); + forward('messages/inbox'); } // mark the message as read |