From 7dbe623ed066a8f6a7a09556dda04dd2547eeae0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Fri, 13 May 2005 17:36:29 +0000 Subject: [PATCH] bug #1178760, header not send in multi-tables print view --- ChangeLog | 4 ++++ tbl_printview.php | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index fa8b96a23..37e757012 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-05-13 Marc Delisle + * tbl_printview.php: bug #1178760, header not sent when displaying + print view of multi tables, thanks to Hrvoje Novosel - interghost + 2005-05-11 Marc Delisle * tbl_properties.inc.php: bug #1069012, table collation forgotten when adding fields diff --git a/tbl_printview.php b/tbl_printview.php index 448597fec..73648f086 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -55,6 +55,9 @@ if (isset($selected_tbl) && is_array($selected_tbl)) { $multi_tables = (count($the_tables) > 1); if ($multi_tables) { + if (empty($GLOBALS['is_header_sent'])) { + require_once('./header.inc.php'); + } $tbl_list = ''; foreach ($the_tables AS $key => $table) { $tbl_list .= (empty($tbl_list) ? '' : ', ')