bug #598: size of storage reported differently from value set.

This commit is contained in:
Tino Vázquez authored and Tino Vázquez committed 2011-05-09 17:07:52 +02:00
1 parent b218c52a17
commit 41d76c8faa
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ class ImageOCCI < Image
<DESCRIPTION><%= self['TEMPLATE/DESCRIPTION'] %></DESCRIPTION>
<% end %>
<% if size != nil %>
<SIZE><%= size %></SIZE>
<SIZE><%= size.to_i / 1024 %></SIZE>
<% end %>
<% if fstype != nil %>
<FSTYPE><%= fstype %></FSTYPE>