Index: chameleon.theme
===================================================================
RCS file: /cvs/drupal/contributions/themes/chameleon/chameleon.theme,v
retrieving revision 1.3
diff -u -r1.3 chameleon.theme
--- chameleon.theme	8 Mar 2009 06:13:07 -0000	1.3
+++ chameleon.theme	12 Mar 2009 21:40:09 -0000
@@ -28,6 +28,7 @@
   // Get blocks before so that they can alter the header (JavaScript, Stylesheets etc.)
   $blocks_left = drupal_render($content['left']);
   $blocks_right = drupal_render($content['right']);
+  $closure = theme_closure();
 
   $output  = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML+RDFa 1.0//EN\" \"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd\">\n";
   $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"$language\" dir=\"$direction\"\n";
@@ -108,7 +109,7 @@
   $output .= "  </tr>\n";
   $output .= " </table>\n";
 
-  $output .=  theme_closure();
+  $output .=  $closure;
   $output .= " </body>\n";
   $output .= "</html>\n";
 
