--- modules/og_panels/og_panels.module	2009-07-18 13:37:39.000000000 +0200
+++ modules/og_panels/og_panels.module	2009-07-28 07:16:28.640625000 +0200
@@ -489,7 +489,7 @@ function og_panels_page($nid, $tab_num, 
   $display->args = $args;
   $output = panels_render_display($display);
   if ($print) {
-    print theme('page', $output, $did['show_blocks']);
+    print theme('page', $output, $tab['show_blocks']);
   }
   else {
     return $output;
