Skip to content

Commit

Permalink
fix(dropdownfield): SQL error to find curent user's groups
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Oct 5, 2020
1 parent a299a14 commit c86bc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/fields/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ private function getMyGroups($userID) {
],
],
'WHERE' => [
$groupUserTable . '.id' => $userID,
$groupUserTable . '.users_id' => $userID,
] + $dbUtil->getEntitiesRestrictCriteria(
$groupTable,
'',
Expand Down

0 comments on commit c86bc4e

Please sign in to comment.