From: Andrzej Zaborowski Date: Fri, 23 Dec 2011 00:59:32 +0000 (+0100) Subject: Fix a nil check in Contributor Terms display X-Git-Tag: live~5904 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/085f3356b92d776d6b82da9fa1830e65c57cbdbc Fix a nil check in Contributor Terms display --- diff --git a/app/views/user/_terms.html.erb b/app/views/user/_terms.html.erb index cc8387319..11c3f5049 100644 --- a/app/views/user/_terms.html.erb +++ b/app/views/user/_terms.html.erb @@ -6,7 +6,7 @@
  1. <%= raw @text['section_1'] %>

    - <% unless raw @text['section_1a'].nil? %> + <% unless @text['section_1a'].nil? %>
    1. <%= raw @text['section_1a'] %>
    2. <%= raw @text['section_1b'] %>