Merge remote-tracking branch 'origin/bug-1530'

This commit is contained in:
Ruben S. Montero committed 2012-10-05 09:46:48 +02:00
commit ffc8d58844
1 file changed
+5 -1
+5 -1
View File
@@ -554,7 +554,11 @@ EOT
template<<"#{section.upcase}=[\n"
template<<" #{name.upcase}_UNAME=\"#{user}\",\n" if user
template<<" #{name.upcase}=\"#{object}\"\n"
if object.match(/^\d$/)
template<<" #{name.upcase}_ID=#{object}\n"
else
template<<" #{name.upcase}=\"#{object}\"\n"
end
template<<"]\n"
end if objects