Commit 2ff620ae authored by scardinius's avatar scardinius
Browse files

#278 Fix DB syntax error when try to search deleted cases

parent c57fce72
......@@ -1590,7 +1590,7 @@ SELECT case_status.label AS case_status, status_id, civicrm_case_type.title AS c
AND IN( {$caseID})
AND civicrm_case.is_deleted = {$cases['case_deleted']}";
$query = self::getCaseActivityQuery($type, $userID, $condition, $cases['case_deleted']);
$query = self::getCaseActivityQuery($type, $userID, $condition);
$res = CRM_Core_DAO::executeQuery($query);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment