From 37849b1abb4c7325093a4a6d5e1efe0cae30ca96 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 25 Mar 2016 13:27:37 +0100 Subject: [PATCH] Fix code formatting (2) --- .../files/lib/acp/form/PaidSubscriptionEditForm.class.php | 2 +- .../install/files/lib/page/PaidSubscriptionListPage.class.php | 2 +- wcfsetup/install/files/lib/system/MetaTagHandler.class.php | 2 +- .../files/lib/system/package/PackageUpdateDispatcher.class.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php index ea0cf1d746..6d1186be9e 100644 --- a/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PaidSubscriptionEditForm.class.php @@ -96,7 +96,7 @@ class PaidSubscriptionEditForm extends PaidSubscriptionAddForm { if (!$this->subscriptionLengthPermanent) { if (isset($_POST['subscriptionLength'])) $this->subscriptionLength = intval($_POST['subscriptionLength']); if (isset($_POST['subscriptionLengthUnit'])) $this->subscriptionLengthUnit = $_POST['subscriptionLengthUnit']; - } + } if (!empty($_POST['isRecurring'])) $this->isRecurring = 1; if (isset($_POST['groupIDs']) && is_array($_POST['groupIDs'])) $this->groupIDs = ArrayUtil::toIntegerArray($_POST['groupIDs']); } diff --git a/wcfsetup/install/files/lib/page/PaidSubscriptionListPage.class.php b/wcfsetup/install/files/lib/page/PaidSubscriptionListPage.class.php index a7e5d54a8f..f089d7f1a3 100644 --- a/wcfsetup/install/files/lib/page/PaidSubscriptionListPage.class.php +++ b/wcfsetup/install/files/lib/page/PaidSubscriptionListPage.class.php @@ -63,7 +63,7 @@ class PaidSubscriptionListPage extends AbstractPage { if ($userSubscription->getSubscription()->excludedSubscriptionIDs) { foreach (explode(',', $userSubscription->getSubscription()->excludedSubscriptionIDs) as $subscriptionID) { if (isset($this->subscriptions[$subscriptionID])) unset($this->subscriptions[$subscriptionID]); - } + } } } } diff --git a/wcfsetup/install/files/lib/system/MetaTagHandler.class.php b/wcfsetup/install/files/lib/system/MetaTagHandler.class.php index 678f92c50d..4b46a8426d 100644 --- a/wcfsetup/install/files/lib/system/MetaTagHandler.class.php +++ b/wcfsetup/install/files/lib/system/MetaTagHandler.class.php @@ -63,7 +63,7 @@ class MetaTagHandler extends SingletonFactory implements \Countable, \Iterator { // replace description if Open Graph Protocol tag was given if ($name == 'og:description') { $this->objects['description']['value'] = $value; - } + } } /** diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index 5dfcaa1671..c37a93be43 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -52,7 +52,7 @@ class PackageUpdateDispatcher extends SingletonFactory { $updateServers[] = $updateServer; } - } + } // loop servers $refreshedPackageLists = false; -- 2.20.1