From: Tim Düsterhus Date: Wed, 9 Jun 2021 11:36:16 +0000 (+0200) Subject: Fix code style X-Git-Tag: 5.5.0_Alpha_1~675 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e282957db9a1b94ba45c9a6a4623fb147f747b53;p=GitHub%2FWoltLab%2FWCF.git Fix code style see 76ee04b0c0c96b657edaf953e4adacc3ceebb457 --- diff --git a/wcfsetup/install/files/lib/data/paid/subscription/PaidSubscription.class.php b/wcfsetup/install/files/lib/data/paid/subscription/PaidSubscription.class.php index 27e8bcfb22..7f18894f9e 100644 --- a/wcfsetup/install/files/lib/data/paid/subscription/PaidSubscription.class.php +++ b/wcfsetup/install/files/lib/data/paid/subscription/PaidSubscription.class.php @@ -131,6 +131,7 @@ class PaidSubscription extends DatabaseObject implements ITitledObject { $list = new PaidSubscriptionUserList(); $list->getConditionBuilder()->add('subscriptionID = ?', [$this->subscriptionID]); + return $list->countObjects() ? true : false; } }