From 8d0967f587ec667640d75edb7fc74e0db69b07a7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 3 Jun 2022 18:46:19 +1200 Subject: [PATCH] Add generic PreProcess --- CRM/Import/Form/MapField.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Import/Form/MapField.php b/CRM/Import/Form/MapField.php index 9c10336654..1f9187c35e 100644 --- a/CRM/Import/Form/MapField.php +++ b/CRM/Import/Form/MapField.php @@ -66,6 +66,14 @@ abstract class CRM_Import_Form_MapField extends CRM_Import_Forms { return ts('Match Fields'); } + /** + * Shared preProcess code. + */ + public function preProcess() { + $this->assignMapFieldVariables(); + parent::preProcess(); + } + /** * Attempt to match header labels with our mapper fields. * -- 2.25.1