Skip to content

Commit

Permalink
(patch.pr-23672) APIv3 - Fix regression in handling chained calls wit…
Browse files Browse the repository at this point in the history
…h sequential

Zawarty w 5.49.5 i 5.50
civicrm#23672
  • Loading branch information
scardinius committed Jun 6, 2022
1 parent e4a83f6 commit 171c1d8
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 171c1d8

Please sign in to comment.