Skip to content

Commit

Permalink
Fix error for group filter with no groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Laur0r authored Oct 19, 2023
1 parent a1f490b commit dc2bbdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/ratings_and_allocations_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,8 @@ function($o) {
},
$this->groupsofallchoices)))) {
$sql .= "," . $gmgroupid . ") ) ";
} else {
$sql .= "))";
}
} else if ($this->groupselect != 0) {
$sql .= "AND u.id in ( SELECT gm.userid FROM {groups_members} gm WHERE gm.groupid= :groupselect ) ";
Expand Down

0 comments on commit dc2bbdb

Please sign in to comment.