From: Seamus Lee Date: Thu, 2 Jun 2022 21:18:21 +0000 (+1000) Subject: [REF] Fix issue where forceing sequential broke webform API chained usage X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=705f52bf1dd177cca4533adede49784e0a083551;p=civicrm-core.git [REF] Fix issue where forceing sequential broke webform API chained usage --- diff --git a/Civi/API/Subscriber/ChainSubscriber.php b/Civi/API/Subscriber/ChainSubscriber.php index dfbfa458e8..7be1bfb913 100644 --- a/Civi/API/Subscriber/ChainSubscriber.php +++ b/Civi/API/Subscriber/ChainSubscriber.php @@ -182,7 +182,7 @@ class ChainSubscriber implements EventSubscriberInterface { $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)) {