From f01854d6b7028af5dd97a1d98f89d988c37ac2af Mon Sep 17 00:00:00 2001 From: Stephen Palmstrom Date: Tue, 2 Jan 2024 14:53:46 +0000 Subject: [PATCH] Issue 4879 --- CRM/Import/Parser.php | 2 +- CRM/Mailing/Event/BAO/MailingEventForward.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = []; } -- 2.25.1