fix
authordemeritcowboy <demeritcowboy@hotmail.com>
Thu, 30 Nov 2023 15:12:32 +0000 (10:12 -0500)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Thu, 30 Nov 2023 15:12:32 +0000 (10:12 -0500)
CRM/Contribute/Form/Contribution/Confirm.php

index 214efd93e7743c93945fde2b28d43270c0ad8761..a5345a4c25d9c582ce1bf0f6ccc61faca807c3ce 100644 (file)
@@ -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