From: Seamus Lee Date: Mon, 18 Jan 2021 20:22:14 +0000 (+1100) Subject: [#REF] Cleanup recently added code fixing dev/core#2307 for the fact that wasn't... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=60cacf699294c9db8d25d550a44ae2bd770d6c89;p=civicrm-core.git [#REF] Cleanup recently added code fixing dev/core#2307 for the fact that wasn't a variable before these lines --- 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); }