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) {