From 7388b48a0f28cf8e0efbc52d53e642512c043d24 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sun, 27 May 2018 16:04:39 +0100 Subject: [PATCH] Fix Find Deleted Cases --- CRM/Case/Form/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index 590132354b8e..3ca0ed016910 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -177,7 +177,7 @@ public function buildQuickForm() { $tasks = CRM_Case_Task::permissionedTaskTitles(CRM_Core_Permission::getPermission()); if (!empty($this->_formValues['case_deleted'])) { - unset($tasks[CRM_Case_Task::DELETE]); + unset($tasks[CRM_Case_Task::TASK_DELETE]); } else { unset($tasks[CRM_Case_Task::RESTORE_CASES]);