From 60cacf699294c9db8d25d550a44ae2bd770d6c89 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 19 Jan 2021 07:22:14 +1100 Subject: [PATCH] [#REF] Cleanup recently added code fixing dev/core#2307 for the fact that wasn't a variable before these lines --- CRM/Contact/Form/Task/Map.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/Form/Task/Map.php b/CRM/Contact/Form/Task/Map.php index 7905ff7b96..a6aaa273c9 100644 --- a/CRM/Contact/Form/Task/Map.php +++ b/CRM/Contact/Form/Task/Map.php @@ -168,11 +168,10 @@ class CRM_Contact_Form_Task_Map extends CRM_Contact_Form_Task { } $session->pushUserContext(CRM_Utils_System::url('civicrm/event/info', "{$args}{$ids}")); } - // Issue 2307 + // dev/core#2307 // CRM_Utils_System::appendBreadCrumb only takes one argument, an array // of breadcrumbs, not two. - $breadcrumbs[0]['title'] = $bcTitle; - $breadcrumbs[0]['url'] = $redirect; + $breadcrumbs = [0 => ['title' => $bcTitle, 'url' => $redirect]]; CRM_Utils_System::appendBreadCrumb($breadcrumbs); } -- 2.25.1