Index: themes/chameleon/chameleon.theme
===================================================================
RCS file: /cvs/drupal/drupal/themes/chameleon/chameleon.theme,v
retrieving revision 1.78
diff -u -r1.78 chameleon.theme
--- themes/chameleon/chameleon.theme	25 Jun 2008 09:12:25 -0000	1.78
+++ themes/chameleon/chameleon.theme	30 Nov 2008 12:46:05 -0000
@@ -26,6 +26,7 @@
   // Get blocks before so that they can alter the header (JavaScript, Stylesheets etc.)
   $blocks_left = theme_blocks('left');
   $blocks_right = theme_blocks('right');
+  $closure = theme_closure();
 
   $output  = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
   $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$language\" xml:lang=\"$language\" dir=\"$direction\">\n";
@@ -105,7 +106,7 @@
   $output .= "  </tr>\n";
   $output .= " </table>\n";
 
-  $output .=  theme_closure();
+  $output .=  $closure;
   $output .= " </body>\n";
   $output .= "</html>\n";
 
