This commit is contained in:
Yuri Kuznetsov
2023-11-16 16:03:13 +02:00
parent 312be1dfc1
commit ecaf7978cd
+1 -1
View File
@@ -119,7 +119,7 @@ class User extends Database
*/
public function checkBelongsToAnyOfTeams(string $userId, array $teamIds): bool
{
if (empty($teamIds)) {
if ($teamIds === []) {
return false;
}