From: Alexander Ebert Date: Sun, 2 May 2021 11:45:33 +0000 (+0200) Subject: Incorrect formatting X-Git-Tag: 5.4.0_Alpha_1~11^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=264ba765c1c8facf42c0073b4c0a33f96c0c5dd9;p=GitHub%2FWoltLab%2FWCF.git Incorrect formatting --- diff --git a/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php b/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php index 8ffac0b82c..29ed475007 100644 --- a/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php @@ -82,9 +82,15 @@ class ApplicationManagementForm extends AbstractForm { parent::readFormParameters(); - if (isset($_POST['cookieDomain'])) $this->cookieDomain = StringUtil::trim($_POST['cookieDomain']); - if (isset($_POST['domainName'])) $this->domainName = StringUtil::trim($_POST['domainName']); - if (isset($_POST['landingPageID']) && \is_array($_POST['landingPageID'])) $this->landingPageID = ArrayUtil::toIntegerArray($_POST['landingPageID']); + if (isset($_POST['cookieDomain'])) { + $this->cookieDomain = StringUtil::trim($_POST['cookieDomain']); + } + if (isset($_POST['domainName'])) { + $this->domainName = StringUtil::trim($_POST['domainName']); + } + if (isset($_POST['landingPageID']) && \is_array($_POST['landingPageID'])) { + $this->landingPageID = ArrayUtil::toIntegerArray($_POST['landingPageID']); + } } public function validate()