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 <tbugier@teclib.com>
  • Loading branch information
btry committed Oct 3, 2020
1 parent 1520888 commit 985a8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/field/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ private function getMyGroups($userID) {
],
],
'WHERE' => [
$groupUserTable . '.id' => $userID,
$groupUserTable . '.users_id' => $userID,
] + $dbUtil->getEntitiesRestrictCriteria(
$groupTable,
'',
Expand Down

0 comments on commit 985a8b2

Please sign in to comment.