only check for one, not both

master
Coleman 2008-07-26 23:44:51 -05:00
parent d7b45ad4d6
commit 2c7bf77f4b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<% if allowed_to?(:upload_images) -%><a href="<%= url(:new_photo, :photo => { :album_id => @album.id }) -%>"><img src="/images/emblem-photos.png" /> Upload Image</a><br /><% 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? -%>
<div id="tag_cloud">
<% unless @album.tags.empty? -%>
<p>Album Tags</p>