Skip to content

Commit

Permalink
Editor blog post typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Aug 3, 2010
1 parent 6b416cd commit 2281bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/modules/blog/app/controllers/blog/page_renderer.rb
Expand Up @@ -107,7 +107,7 @@ def entry_detail
result = renderer_cache(blog, display_string) do |cache|
entry = nil
if editor?
entry = blog.blog_posts.find(:first,:conditions => ['blog_posts.status "published" AND blog_blog_id=? ',blog.id])
entry = blog.blog_posts.find(:first,:conditions => ['blog_posts.status = "published" AND blog_blog_id=? ',blog.id])
elsif conn_type == :post_permalink
entry = blog.find_post_by_permalink(conn_id)
end
Expand Down

0 comments on commit 2281bc2

Please sign in to comment.