summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-08-26 03:49:38 +0000
committerGo MAEDA <maeda@farend.jp>2020-08-26 03:49:38 +0000
commitb05fb29e4ff20a15ac4b1af3d3a14ec1408adcde (patch)
tree9cee2fe7eb932f878666cb2135e39f5350c5abaf /app
parent837a6050118d3ab991da298e43495c734532b25e (diff)
downloadredmine-b05fb29e4ff20a15ac4b1af3d3a14ec1408adcde.tar.gz
redmine-b05fb29e4ff20a15ac4b1af3d3a14ec1408adcde.zip
Merged r19983 from trunk to 4.1-stable (#33889).
git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@19984 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index de99eeabe..c8745be14 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -31,7 +31,7 @@
<%= textilizable @project.description %>
</div>
<% end %>
- <% if @project.homepage.present? || @project.visible_custom_field_values.any?(&:present?) %>
+ <% if @project.homepage.present? || @project.visible_custom_field_values.any? { |o| o.value.present? } %>
<ul>
<% unless @project.homepage.blank? %>
<li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %></li>