From: Stephen Palmstrom Date: Tue, 2 Jan 2024 14:53:46 +0000 (+0000) Subject: Issue 4879 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f01854d6b7028af5dd97a1d98f89d988c37ac2af;p=civicrm-core.git Issue 4879 --- diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 5af9f8688e..72031a014c 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -1128,7 +1128,7 @@ abstract class CRM_Import_Parser implements UserJobInterface { // get the formatted location blocks into params - w/ 3.0 format, CRM-4605 if (!empty($values['location_type_id'])) { - static $fields = NULL; + $fields = NULL; if ($fields == NULL) { $fields = []; } diff --git a/CRM/Mailing/Event/BAO/MailingEventForward.php b/CRM/Mailing/Event/BAO/MailingEventForward.php index ad4fd2bcd2..6793c2f289 100644 --- a/CRM/Mailing/Event/BAO/MailingEventForward.php +++ b/CRM/Mailing/Event/BAO/MailingEventForward.php @@ -233,7 +233,7 @@ class CRM_Mailing_Event_BAO_MailingEventForward extends CRM_Mailing_Event_DAO_Ma // get the formatted location blocks into params - w/ 3.0 format, CRM-4605 if (!empty($values['location_type_id'])) { - static $fields = NULL; + $fields = NULL; if ($fields == NULL) { $fields = []; }