From ab91034de29d3910d23482a4cc3721c954b7255e Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 6 Jul 2009 12:05:06 +0000 Subject: [PATCH] bug #2814109 [search] Right frame is blank --- ChangeLog | 1 + tbl_select.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 01872fabd..88e94bc82 100644 --- a/ChangeLog +++ b/ChangeLog @@ -32,6 +32,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA thanks to Sven Vetsch/Disenchant for informing us in a responsible manner - bug #2634827 [import] Using DELIMITER produces infinite cycle + new language files: uzbek_cyrillic and urbek_latin +- bug #2814109 [search] Right frame is blank 3.2.0.1 (2009-06-30) - [security] XSS: Insufficient output sanitizing in bookmarks diff --git a/tbl_select.php b/tbl_select.php index 59b075fd3..4a8d88fa2 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -338,8 +338,11 @@ else { } else { $param = PMA_backquote($param); $sql_query .= implode(', ', $param); - unset($param); } // end if + + // avoid a loop, for example when $cfg['DefaultTabTable'] is set + // to 'tbl_select.php' + unset($param); $sql_query .= ' FROM ' . PMA_backquote($table);