Skip to content

Commit 0c47776

Browse files
committed
fix(install): missing row in sql query, causing PHP warning
1 parent 1b71d65 commit 0c47776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade_to_2.13.6.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function migrateToRichText() {
7171

7272
foreach ($tables as $table => $fields) {
7373
$request = [
74-
'SELECT' => ['id'] + $fields,
74+
'SELECT' => array_merge(['id'], $fields),
7575
'FROM' => $table
7676
];
7777
foreach ($DB->request($request) as $row) {

0 commit comments

Comments
 (0)