From 9a8ed33fae3ebd89d132278f5e58cf60786e83e6 Mon Sep 17 00:00:00 2001 From: Jan Kristinus Date: Thu, 14 Mar 2024 13:18:16 +0100 Subject: [PATCH] CS --- lib/ycom_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ycom_user.php b/lib/ycom_user.php index 5bde368..5ee96b1 100644 --- a/lib/ycom_user.php +++ b/lib/ycom_user.php @@ -17,7 +17,7 @@ public function isInGroup(int $group_id): bool { $ycom_groups = (string) $this->getValue('ycom_groups'); - if ('' === $group_id) { + if (1 > $group_id) { return true; } if ('' !== $ycom_groups) {