Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 72c5a66

Browse files
Fixed PHP notices when DB receives "ENGINE" instead of "engine"
1 parent 1d0bd12 commit 72c5a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/Version2/class-wc-rest-system-status-v2-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ public function get_database_info() {
700700
$wpdb->prepare(
701701
"SELECT
702702
table_name AS 'name',
703-
engine,
703+
engine AS 'engine',
704704
round( ( data_length / 1024 / 1024 ), 2 ) 'data',
705705
round( ( index_length / 1024 / 1024 ), 2 ) 'index'
706706
FROM information_schema.TABLES

0 commit comments

Comments
 (0)