From a4e4c4b630f70cb02c17025232f88fe9f35e69bb Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Sat, 13 Jan 2024 02:32:11 +0100 Subject: [PATCH] Remove unnecessary space Signed-off-by: Kamil Tekiela --- src/Favorites/RecentFavoriteTables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Favorites/RecentFavoriteTables.php b/src/Favorites/RecentFavoriteTables.php index 38db10e335..9f9432af7a 100644 --- a/src/Favorites/RecentFavoriteTables.php +++ b/src/Favorites/RecentFavoriteTables.php @@ -122,7 +122,7 @@ class RecentFavoriteTables private function getFromDb(): array { // Read from phpMyAdmin database, if recent tables is not in session - $sqlQuery = ' SELECT `tables` FROM ' . $this->getPmaTable() + $sqlQuery = 'SELECT `tables` FROM ' . $this->getPmaTable() . ' WHERE `username` = ' . $this->dbi->quoteString(Config::getInstance()->selectedServer['user'], Connection::TYPE_CONTROL);