From cfdb280eab456be80f1be950997c1c4651f68338 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 8 Jun 2022 19:33:42 +1200 Subject: [PATCH] Ensure no options is FALSE not NULL --- CRM/Import/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 7295afdc07..7bc181668b 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -1479,7 +1479,7 @@ abstract class CRM_Import_Parser { $this->importableFieldsMetadata[$fieldMapName]['options'] = $values; } else { - $this->importableFieldsMetadata[$fieldMapName]['options'] = $options; + $this->importableFieldsMetadata[$fieldMapName]['options'] = $options ?: FALSE; } return $this->importableFieldsMetadata[$fieldMapName]; } -- 2.25.1