Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1212
diff -u -p -r1.1212 common.inc
--- includes/common.inc	1 Sep 2010 20:08:17 -0000	1.1212
+++ includes/common.inc	4 Sep 2010 11:47:57 -0000
@@ -5098,7 +5098,9 @@ function drupal_render(&$elements) {
 
   // If #markup is not empty, set #type. This allows to specify just #markup on
   // an element without setting #type.
-  if (!empty($elements['#markup']) && !isset($elements['#type'])) {
+  if ((isset($elements['#markup']))
+      && (!empty($elements['#markup']) || ($elements['#markup'] == 0) || ($elements['#markup'] == '0'))
+      && (!isset($elements['#type']))) {
     $elements['#type'] = 'markup';
   }
 
