From: demeritcowboy Date: Thu, 19 Jan 2023 01:12:33 +0000 (-0500) Subject: undefined array keys X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4f2c7623b16b1f74bbc3d1c2911e9ac86eb508de;p=civicrm-core.git undefined array keys --- diff --git a/CRM/Case/Selector/Search.php b/CRM/Case/Selector/Search.php index 9b430eea8b..d2f958f194 100644 --- a/CRM/Case/Selector/Search.php +++ b/CRM/Case/Selector/Search.php @@ -622,6 +622,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'url' => 'civicrm/case/activity/view', 'qs' => 'reset=1&cid=%%cid%%&caseid=%%caseid%%&aid=%%aid%%', 'title' => ts('View'), + 'accessKey' => '', + 'ref' => 'View', ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), @@ -629,6 +631,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'qs' => 'reset=1&cid=%%cid%%&caseid=%%caseid%%&id=%%aid%%&action=update%%cxt%%', 'title' => ts('Edit'), 'icon' => 'fa-pencil', + 'accessKey' => '', + 'ref' => 'Edit', ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), @@ -636,6 +640,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'qs' => 'reset=1&cid=%%cid%%&caseid=%%caseid%%&id=%%aid%%&action=delete%%cxt%%', 'title' => ts('Delete'), 'icon' => 'fa-trash', + 'accessKey' => '', + 'ref' => 'Delete', ], CRM_Core_Action::RENEW => [ 'name' => ts('Restore'), @@ -643,6 +649,8 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'qs' => 'reset=1&cid=%%cid%%&caseid=%%caseid%%&id=%%aid%%&action=renew%%cxt%%', 'title' => ts('Restore'), 'icon' => 'fa-undo', + 'accessKey' => '', + 'ref' => 'Restore', ], CRM_Core_Action::DETACH => [ 'name' => ts('Move To Case'), @@ -650,6 +658,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'title' => ts('Move To Case'), 'extra' => 'onclick = "Javascript:fileOnCase( \'move\', %%aid%%, %%caseid%%, this ); return false;"', 'icon' => 'fa-clipboard', + 'accessKey' => '', ], CRM_Core_Action::COPY => [ 'name' => ts('Copy To Case'), @@ -657,6 +666,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'title' => ts('Copy To Case'), 'extra' => 'onclick = "Javascript:fileOnCase( \'copy\', %%aid%%, %%caseid%%, this ); return false;"', 'icon' => 'fa-files-o', + 'accessKey' => '', ], ]; }