Skip to content

Commit 00d657e

Browse files
Merge pull request #1056 from Codeinwp/bugfix/1054
Fixed PHP 8.1 deprecated error
2 parents 99d587f + 2c95d6a commit 00d657e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Source/Query/Params.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public static function get_db_tables() {
318318
if ( $tables ) {
319319
return $tables;
320320
}
321-
321+
$tables = array();
322322
$prefix = apply_filters( 'visualizer_db_prefix', $wpdb->prefix );
323323
$sql = $wpdb->get_col( 'SHOW TABLES', 0 );
324324
foreach ( $sql as $table ) {

0 commit comments

Comments
 (0)