diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/blog/blog_lib.php | 2 | ||||
-rw-r--r-- | mod/blog/languages/en.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/blog/blog_lib.php b/mod/blog/blog_lib.php index 66d93ddce..d785b1a89 100644 --- a/mod/blog/blog_lib.php +++ b/mod/blog/blog_lib.php @@ -24,7 +24,7 @@ function blog_get_page_content_read($owner_guid = NULL, $guid = NULL) { if ($guid) { $blog = get_entity($guid); - if (!elgg_instanceof($blog, 'object', 'blog') || ($blog->status != 'final' && !$blog->canEdit())) { + if (!elgg_instanceof($blog, 'object', 'blog') || ($blog->status != 'published' && !$blog->canEdit())) { $content = elgg_echo('blog:error:post_not_found'); } else { elgg_push_breadcrumb($blog->title, $blog->getURL()); diff --git a/mod/blog/languages/en.php b/mod/blog/languages/en.php index 4ae1bf638..442a74069 100644 --- a/mod/blog/languages/en.php +++ b/mod/blog/languages/en.php @@ -18,6 +18,7 @@ $english = array( 'blog:friends' => 'Friends\' blogs', 'blog:title:user_blogs' => '%s\'s Blogs', + 'blog:title:all_blogs' => 'All Site Blogs', // Editing 'blog:new' => 'New blog post', |