diff --git a/app/views/albums/show.html.erb b/app/views/albums/show.html.erb index 1a9a22f..1bc256a 100644 --- a/app/views/albums/show.html.erb +++ b/app/views/albums/show.html.erb @@ -5,7 +5,7 @@ <% if allowed_to?(:upload_images) -%> Upload Image
<% end %> <% ptags = @photos.collect { |p| p.photo_tags.collect { |pt| pt.tag.name } }.flatten.uniq -%> - <% if !@album.tags.empty? and !ptags.empty? -%> + <% if !@album.tags.empty? or !ptags.empty? -%>
<% unless @album.tags.empty? -%>

Album Tags