From 264ba765c1c8facf42c0073b4c0a33f96c0c5dd9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 2 May 2021 13:45:33 +0200 Subject: [PATCH] Incorrect formatting --- .../lib/acp/form/ApplicationManagementForm.class.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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() -- 2.20.1