From 7f7d8c7a3b6a67b051da3f9baaae97247dc6cef1 Mon Sep 17 00:00:00 2001 From: colemanw Date: Wed, 19 Jul 2023 20:41:53 -0400 Subject: [PATCH] LocationType - Fix error in fix for smarty notices --- CRM/Admin/Page/LocationType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Admin/Page/LocationType.php b/CRM/Admin/Page/LocationType.php index 17896dae90..2c6093a553 100644 --- a/CRM/Admin/Page/LocationType.php +++ b/CRM/Admin/Page/LocationType.php @@ -76,7 +76,7 @@ class CRM_Admin_Page_LocationType extends CRM_Core_Page_Basic { foreach ($rows as &$row) { // prevent smarty notices. foreach (['is_default', 'class', 'vcard_name'] as $expectedField) { - if (!isset($row['is_default'])) { + if (!isset($row[$expectedField])) { $row[$expectedField] = NULL; } } -- 2.25.1