We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a47a621 commit 7216a1fCopy full SHA for 7216a1f
lib/ycom_user.php
@@ -22,7 +22,7 @@ public function isInGroup(int $group_id): bool
22
}
23
if ('' != $ycom_groups) {
24
$ycom_groups_array = explode(',', $ycom_groups);
25
- if (in_array($group_id, $ycom_groups_array, true)) {
+ if (in_array((string) $group_id, $ycom_groups_array, true)) {
26
return true;
27
28
0 commit comments