From 22e87c1a7bfc53a4e117a0f3234afbe988f3583b Wed, 16 Nov 2011 09:39:41 -0300
From: Javier Castro <javier.alejandro.castro@gmail.com>
Date: Wed, 16 Nov 2011 09:33:09 -0300
Subject: [PATCH] Fix to correctly render numeric fields with value equal to 0

diff --git a/theme/theme.inc b/theme/theme.inc
index 3958b97..7b8f376 100644
--- a/theme/theme.inc
+++ b/theme/theme.inc
@@ -552,7 +552,7 @@
         }
 
         // Don't bother with separators and stuff if the field does not show up.
-        if (empty($field_output) && !empty($vars['rows'][$num][$column])) {
+        if (empty($field_output) && $renders[$num][$field] !== '0' && !empty($vars['rows'][$num][$column])) {
           continue;
         }
 
