aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/pages
diff options
context:
space:
mode:
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) {