Skip to content

Commit

Permalink
Fix Find Deleted Cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire authored and eileenmcnaughton committed May 27, 2018
1 parent 09b4502 commit 7388b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Case/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 7388b48

Please sign in to comment.