]> git.openstreetmap.org Git - rails.git/commitdiff
Fix a nil check in Contributor Terms display
authorAndrzej Zaborowski <balrogg@gmail.com>
Fri, 23 Dec 2011 00:59:32 +0000 (01:59 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 23 Dec 2011 09:34:47 +0000 (09:34 +0000)
app/views/user/_terms.html.erb

index cc8387319c5caa6cd622e7e8add6db744bfc915e..11c3f504944cd98b7afac19aa92afcd100e07520 100644 (file)
@@ -6,7 +6,7 @@
 <ol>
   <li>
     <p><%= raw @text['section_1'] %></p>
-    <% unless raw @text['section_1a'].nil? %>
+    <% unless @text['section_1a'].nil? %>
     <ol style="list-style-type: lower-alpha">
       <li><%= raw @text['section_1a'] %></li>
       <li><%= raw @text['section_1b'] %></li>