From 16d9e806713eabfa3f9a1d3971a14ab6984237a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 23 Dec 2015 09:55:36 +0100 Subject: [PATCH] Fix possible undefined variables in table operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #11749 Signed-off-by: Michal Čihař --- ChangeLog | 1 + libraries/tbl_info.inc.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a3c5ce930..c94ab0d325 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,7 @@ phpMyAdmin - ChangeLog - issue #11758 Missing quoting of table in ALTER CONVERT query - issue #11752 PMA 4.5.2 breaks MySQL Master-Master Cluster - issue #11757 Export and preview show different SQL for character set +- issue #11749 Fix possible undefined variables in table operations 4.5.2.0 (2015-11-23) - issue #11589 Incorrect parameter in mysqli_fetch_fields() diff --git a/libraries/tbl_info.inc.php b/libraries/tbl_info.inc.php index 1f70188e7b..e6d3a55a74 100644 --- a/libraries/tbl_info.inc.php +++ b/libraries/tbl_info.inc.php @@ -106,4 +106,6 @@ if ($showtable) { ? 'DEFAULT' : $pack_keys; unset($create_options, $each_create_option); -} // end if +} else { + $pack_keys = $row_format = null; +}// end if