From e52a71592a68514d06c8c601d1a9feda6c426145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 16 May 2017 12:51:42 +0200 Subject: [PATCH] Fix error in query builder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #13274 Signed-off-by: Michal Čihař --- ChangeLog | 1 + libraries/DbQbe.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b7b9daec58..c20d6e077c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,7 @@ phpMyAdmin - ChangeLog - issue #13258 Fixed detection of Amazon RDS - issue #13241 Redirect user to last page that has any tables to display - issue #13266 Fix link to User accounts overview page +- issue #13274 Fix error in query builder 4.7.0 (2017-03-28) - patch #12233 [Display] Improve message when renaming database to same name diff --git a/libraries/DbQbe.php b/libraries/DbQbe.php index 81e73e460e..34ec902753 100644 --- a/libraries/DbQbe.php +++ b/libraries/DbQbe.php @@ -8,6 +8,7 @@ namespace PMA\libraries; use PMA\libraries\URL; +use PMA\libraries\Util; /** * Class to handle database QBE search @@ -1561,7 +1562,7 @@ class DbQbe if (empty($from_clause)) { // Create cartesian product $from_clause = implode( - ", ", array_map('PMA\libraries\Util::backquote', $search_tables) + ", ", array_map('Util::backquote', $search_tables) ); }