From cb60dd94b21c2758659c06ef897ebb3a21e29f20 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 31 Mar 2021 13:16:37 +0200 Subject: [PATCH] Fix code style --- wcfsetup/install/files/lib/data/style/StyleAction.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/style/StyleAction.class.php b/wcfsetup/install/files/lib/data/style/StyleAction.class.php index 8a5adda52c..df5e7d5b19 100644 --- a/wcfsetup/install/files/lib/data/style/StyleAction.class.php +++ b/wcfsetup/install/files/lib/data/style/StyleAction.class.php @@ -462,8 +462,7 @@ BROWSERCONFIG; 'coverPhotoExtension' => '', ]); } - } - else if ($style->coverPhotoExtension) { + } elseif ($style->coverPhotoExtension) { (new StyleEditor($style))->update([ 'coverPhotoExtension' => '', ]); -- 2.20.1