From c35ee731c057cf79475126ebd9fb1b5a9a11a1d8 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 6 Nov 2018 06:49:09 +1100 Subject: [PATCH] dev/core#119 Fix underfined variable notice when going to pages like civicrm/contact/map/event?eid=3&reset=1 --- CRM/Contact/Form/Task/Map/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Task/Map/Event.php b/CRM/Contact/Form/Task/Map/Event.php index 2d6b8146b2..a88e41be89 100644 --- a/CRM/Contact/Form/Task/Map/Event.php +++ b/CRM/Contact/Form/Task/Map/Event.php @@ -50,7 +50,7 @@ class CRM_Contact_Form_Task_Map_Event extends CRM_Contact_Form_Task_Map { self::createMapXML($ids, $lid, $this, TRUE, $type); $this->assign('single', FALSE); $this->assign('skipLocationType', TRUE); - + $is_public = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $ids, 'is_public'); if ($is_public == 0) { CRM_Utils_System::addHTMLHead(''); } -- 2.25.1