From e282957db9a1b94ba45c9a6a4623fb147f747b53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 9 Jun 2021 13:36:16 +0200 Subject: [PATCH] Fix code style see 76ee04b0c0c96b657edaf953e4adacc3ceebb457 --- .../files/lib/data/paid/subscription/PaidSubscription.class.php | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.20.1