From 663958b564bd96a3b8976894e1dce641bf740f52 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 24 Oct 2011 14:17:02 +0200 Subject: [PATCH] Use same logic for printing SQL results as elsewhere --- libraries/header_printview.inc.php | 3 +++ sql.php | 14 +------------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/libraries/header_printview.inc.php b/libraries/header_printview.inc.php index bef4658804..39ec4cfb26 100644 --- a/libraries/header_printview.inc.php +++ b/libraries/header_printview.inc.php @@ -48,6 +48,9 @@ if ($text_dir == 'ltr') { <?php echo __('SQL result'); ?> - phpMyAdmin <?php echo PMA_VERSION ?> + diff --git a/sql.php b/sql.php index 05b80b67d3..aa99c195da 100644 --- a/sql.php +++ b/sql.php @@ -990,19 +990,7 @@ $(document).ready(makeProfilingChart); // Do print the page if required if (isset($printview) && $printview == '1') { - ?> - -