diff --git a/src/script.php b/src/script.php index bbd854bb0bd..b269a22a119 100644 --- a/src/script.php +++ b/src/script.php @@ -554,7 +554,7 @@ public function postflight($type, $parent) // Check column and set to ut8_mb4 when needed foreach ($tableColumns as $column) { - if ($column->Collation == 'utf8_general_ci' || $column->Collation == 'utf8mb3_general_ci' || $column->Collation == 'utf8_unicode_ci' || $column->Collation == 'utf8mb3_unicode_cis') { + if ($column->Collation == 'utf8_general_ci' || $column->Collation == 'utf8mb3_general_ci' || $column->Collation == 'utf8_unicode_ci' || $column->Collation == 'utf8mb3_unicode_ci') { $query = 'ALTER TABLE ' . $db->quoteName($kunenatable) . ' CHANGE ' . $column->Field . ' ' . $column->Field . ' ' . $column->Type . ' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;'; $db->setQuery($query);