aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/pages
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-15 22:55:21 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-15 22:55:21 -0400
commiteb9f207972cf4ebeec71cf7e3a0e762df5d4c40a (patch)
tree7c1bb1259206a3c6a3a165e27d4c431d6bd9e896 /mod/thewire/pages
parent81dac97890197658e5446e464604c2bc15903e5a (diff)
downloadelgg-eb9f207972cf4ebeec71cf7e3a0e762df5d4c40a.tar.gz
elgg-eb9f207972cf4ebeec71cf7e3a0e762df5d4c40a.tar.bz2
Fixes #4496, #4500 Refs #2814 Add consistent error message when content does not exist or user does not have access
Diffstat (limited to 'mod/thewire/pages')
-rw-r--r--mod/thewire/pages/thewire/view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/thewire/pages/thewire/view.php b/mod/thewire/pages/thewire/view.php
index f45f94bfe..1818e725a 100644
--- a/mod/thewire/pages/thewire/view.php
+++ b/mod/thewire/pages/thewire/view.php
@@ -5,8 +5,8 @@
$post = get_entity(get_input('guid'));
if (!$post) {
- // @todo need special handling for not getting access to entity (check for existence, access)
- forward();
+ register_error(elgg_echo('noaccess'));
+ forward('');
}
$owner = $post->getOwnerEntity();
if (!$owner) {