From 4fa12f0fb19ffb6d4f2a4b0036fb1272220d63f5 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 30 May 2023 17:25:37 +0100 Subject: [PATCH] fix fatal error on custom data import --- CRM/Custom/Import/Parser/Api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Custom/Import/Parser/Api.php b/CRM/Custom/Import/Parser/Api.php index 2b2cbbcba2..cd2ed4edd2 100644 --- a/CRM/Custom/Import/Parser/Api.php +++ b/CRM/Custom/Import/Parser/Api.php @@ -69,7 +69,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Import_Parser { $this->setImportStatus($rowNumber, 'IMPORTED', '', $formatted['id']); } catch (CRM_Core_Exception $e) { - $this->setImportStatus($rowNumber, 'ERROR', '', $e->getMessage()); + $this->setImportStatus($rowNumber, 'ERROR', $e->getMessage(), $formatted['id']); } } -- 2.25.1