From: demeritcowboy Date: Thu, 30 Nov 2023 15:12:32 +0000 (-0500) Subject: fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0fe6277321c8da5df0a41ae8ca1a4ef1e1063791;p=civicrm-core.git fix --- 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