aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-01 19:37:54 -0700
committerCash Costello <cash.costello@gmail.com>2012-07-01 19:37:54 -0700
commitada8223990731b515e74ecda7a494ced4bf7dda4 (patch)
tree1a9b49952d4afd6e501420a46b8269844438a8cd /mod
parentbcd5b0e59e4ea7191475e30397578859315cf2bb (diff)
parent089a086695f0f0b3ee70709bff72be37c0618407 (diff)
downloadelgg-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.
Diffstat (limited to 'mod')
-rw-r--r--mod/messages/pages/messages/read.php2
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