bug #1178760, header not send in multi-tables print view

This commit is contained in:
Marc Delisle
2005-05-13 17:36:29 +00:00
parent aca2004dcc
commit 7dbe623ed0
2 changed files with 7 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-05-13 Marc Delisle <lem9@users.sourceforge.net>
* 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 <lem9@users.sourceforge.net>
* tbl_properties.inc.php: bug #1069012, table collation forgotten
when adding fields

View File

@@ -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) ? '' : ', ')