aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/lib
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/blog/lib
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/blog/lib')
-rw-r--r--mod/blog/lib/blog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/lib/blog.php b/mod/blog/lib/blog.php
index 286fe1832..9d6cb37e7 100644
--- a/mod/blog/lib/blog.php
+++ b/mod/blog/lib/blog.php
@@ -22,7 +22,7 @@ function blog_get_page_content_read($guid = NULL) {
$return['filter'] = '';
if (!elgg_instanceof($blog, 'object', 'blog')) {
- $return['content'] = elgg_echo('blog:error:post_not_found');
+ $return['content'] = elgg_echo('noaccess');
return $return;
}