From 29c4b4bf20618306a147fd47a3c9bd07dd4895d1 Mon Sep 17 00:00:00 2001 From: Web Access Date: Wed, 13 May 2015 18:32:20 +0530 Subject: [PATCH] Fix for CRM-15778 --- CRM/Core/BAO/Navigation.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CRM/Core/BAO/Navigation.php b/CRM/Core/BAO/Navigation.php index 34e0ad4b80..d02f1ec3ec 100644 --- a/CRM/Core/BAO/Navigation.php +++ b/CRM/Core/BAO/Navigation.php @@ -478,13 +478,13 @@ ORDER BY parent_id, weight"; $i18n = CRM_Core_I18n::singleton(); $name = $i18n->crm_translate($value['attributes']['label'], array('context' => 'menu')); - $url = $value['attributes']['url']; - $permission = $value['attributes']['permission']; - $operator = $value['attributes']['operator']; - $parentID = $value['attributes']['parentID']; - $navID = $value['attributes']['navID']; - $active = $value['attributes']['active']; - $menuName = $value['attributes']['name']; + $url = CRM_Utils_Array::value('url', $value['attributes']); + $permission = CRM_Utils_Array::value('permission', $value['attributes']); + $operator = CRM_Utils_Array::value('operator', $value['attributes']); + $parentID = CRM_Utils_Array::value('parentID', $value['attributes']); + $navID = CRM_Utils_Array::value('navID', $value['attributes']); + $active = CRM_Utils_Array::value('active', $value['attributes']); + $menuName = CRM_Utils_Array::value('name', $value['attributes']); $target = CRM_Utils_Array::value('target', $value['attributes']); if (in_array($parentID, $skipMenuItems) || !$active) { -- 2.25.1