Skip to content

Commit

Permalink
COMCL-221: Fix CIVI-SA-2022-07 security patch regression
Browse files Browse the repository at this point in the history
  • Loading branch information
omarabuhussein authored Jun 3, 2022
1 parent e7ca9af commit ed4bdba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Civi/API/Subscriber/ChainSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ protected function callNestedApi($apiKernel, &$params, &$result, $action, $entit
$enforcedSubParams['version'] = $version;
// Copy check_permissions from parent.
$enforcedSubParams['check_permissions'] = $params['check_permissions'] ?? NULL;
$enforcedSubParams['sequential'] = 1;
$defaultSubParams['sequential'] = 1;
$enforcedSubParams['api.has_parent'] = 1;
// Inspect $newparams, the passed in params for the chain call.
if (array_key_exists(0, $newparams)) {
Expand Down

0 comments on commit ed4bdba

Please sign in to comment.