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 cc83873..11c3f50 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>