Skip to content

Commit e0f3b6b

Browse files
authored
Merge pull request thorsten#1236 from brennanma/2.9
Fix bug where user that is a member of multiple groups with the same …
2 parents 82b109c + abfc659 commit e0f3b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyfaq/inc/PMF/Perm/Medium.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function checkGroupRight($groupId, $rightId)
9696
);
9797

9898
$res = $this->config->getDb()->query($select);
99-
if ($this->config->getDb()->numRows($res) == 1) {
99+
if ($this->config->getDb()->numRows($res) >= 1) {
100100
return true;
101101
}
102102

0 commit comments

Comments
 (0)