Fix bug when editing home

This commit is contained in:
Christophe Vilayphiou committed 2012-02-20 03:22:53 +08:00
1 parent 44a346ffe9
commit 3ff2e7867e
1 file changed
+1 -1
+1 -1
View File
@@ -1,5 +1,5 @@
<%= f.error_messages %>
<%= f.hidden_field :parent, :value => @item.parent.id %>
<%= f.hidden_field :parent, :value => (@item.parent.id rescue nil) %>
<p>
<%= f.label :name, t('admin.name') %>