From 0fe6277321c8da5df0a41ae8ca1a4ef1e1063791 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Thu, 30 Nov 2023 10:12:32 -0500 Subject: [PATCH] fix --- CRM/Contribute/Form/Contribution/Confirm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 214efd93e7..a5345a4c25 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -2065,7 +2065,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr if (array_key_exists('onbehalf_location', $params) && is_array($params['onbehalf_location'])) { foreach ($params['onbehalf_location'] as $block => $vals) { //fix for custom data (of type checkbox, multi-select) - if (str_starts_with($block, 0, 'custom_')) { + if (str_starts_with($block, 'custom_')) { continue; } // fix the index of block elements -- 2.25.1