Skip to content

Commit

Permalink
attempt sql fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewandante committed Jun 15, 2023
1 parent e1d1fc6 commit e9ebc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Security/InheritedPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ protected function batchPermissionCheckForStage(
"\"$groupJoinTable\".\"{$baseTable}ID\" = \"{$baseTable}\".\"ID\" AND " . "\"$groupJoinTable\".\"GroupID\" IN ($groupIDsSQLList)"
)->leftJoin(
$memberJoinTable,
"\"$memberJoinTable\".\"{$baseTable}ID\" = \"{$baseTable}\".\"ID\" AND " . "\"$memberJoinTable\".\"MemberID\" = {$member->ID}"
"\"$memberJoinTable\".\"{$baseTable}ID\" = \"{$baseTable}\".\"ID\" AND " . "\"$memberJoinTable\".\"MemberID\" = \"{$member->ID}\""
)->column('ID');
} else {
$uninheritedPermissions = $stageRecords->column('ID');
Expand Down

0 comments on commit e9ebc2a

Please sign in to comment.