X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FMysqlInstaller.php;h=e9a2d03e2d928fca180376f30ed73ea1a1a7dcbd;hb=fbc9e214e7c6f687e7dc3a3178e60f4164ed9ad6;hp=1b0780bc8c810032f7f11ee9275b1743038cb4f4;hpb=9c0eeb1a2d985f77134385975bf611ddc2bb8c7b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MysqlInstaller.php b/includes/installer/MysqlInstaller.php index 1b0780bc8c..e9a2d03e2d 100644 --- a/includes/installer/MysqlInstaller.php +++ b/includes/installer/MysqlInstaller.php @@ -192,11 +192,7 @@ class MysqlInstaller extends DatabaseInstaller { $existingSchema = false; $this->parent->showMessage( 'config-unknown-collation' ); } - if ( isset( $row->Engine ) ) { - $existingEngine = $row->Engine; - } else { - $existingEngine = $row->Type; - } + $existingEngine = $row->Engine ?? $row->Type; } } else { $existingSchema = false;