--- context.theme.inc.orig	2009-01-29 23:12:06.000000000 +0100
+++ context.theme.inc	2009-03-28 13:15:24.656250000 +0100
@@ -183,15 +183,13 @@ function theme_ctools_context_list($obje
       $count++;
     }
   }
-  if ($output) {
-    $head = '';
+  $head = '';
     if ($header) {
       $head .= '<thead><tr>';
       $head .= '<th colspan="2">' . $header . '</th>';
       $head .= '</tr></thead>';
     }
-    return "<table>$head<tbody>$output</tbody></table>\n";
-  }
+  return ($output)?"<table>$head<tbody>$output</tbody></table>\n":"<table>$head</table>\n";
 }
 
 /**
