We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2c23a5 commit 2c7e39bCopy full SHA for 2c7e39b
1 file changed
wp-includes/sqlite/class-wp-sqlite-translator.php
@@ -2810,7 +2810,7 @@ function ( $table ) {
2810
* Otherwise, if a information_schema table uses a custom name
2811
* for the name/table_name column, the table would be removed.
2812
*/
2813
- $table_name = true;
+ $table_name = '';
2814
$table = (array) $table;
2815
if ( isset( $table['Name'] ) ) {
2816
$table_name = $table['Name'];
@@ -2819,7 +2819,7 @@ function ( $table ) {
2819
} elseif ( isset( $table['TABLE_NAME'] ) ) {
2820
$table_name = $table['TABLE_NAME'];
2821
}
2822
- return $table_name && ! array_key_exists( $table_name, $this->sqlite_system_tables );
+ return ! array_key_exists( $table_name, $this->sqlite_system_tables );
2823
},
2824
ARRAY_FILTER_USE_BOTH
2825
)
0 commit comments