From ed7b29df4aa828fca242c53104171775c0d49e3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Thu, 6 Jun 2024 18:33:20 +0200 Subject: [PATCH] Restore previous logic --- wp-includes/sqlite/class-wp-sqlite-translator.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/wp-includes/sqlite/class-wp-sqlite-translator.php b/wp-includes/sqlite/class-wp-sqlite-translator.php index 7f4b85f3..ac6a170c 100644 --- a/wp-includes/sqlite/class-wp-sqlite-translator.php +++ b/wp-includes/sqlite/class-wp-sqlite-translator.php @@ -3462,10 +3462,7 @@ private function execute_show() { ); $this->set_results_from_fetched_data( - array_column( - $stmt->fetchAll( $this->pdo_fetch_mode ), - 'Tables_in_db' - ) + $stmt->fetchAll( $this->pdo_fetch_mode ) ); return; @@ -3476,10 +3473,7 @@ private function execute_show() { "SELECT name FROM sqlite_master WHERE type='table'" ); $this->set_results_from_fetched_data( - array_column( - $stmt->fetchAll( $this->pdo_fetch_mode ), - 'Tables_in_db' - ) + $stmt->fetchAll( $this->pdo_fetch_mode ) ); return;