Skip to content
Snippets Groups Projects
Unverified Commit 9d4e2929 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #25849 from seamuslee001/dev_core_4190

#4190 Fix issue where defaultValues needs to be an array not …
parents eab355b3 53ba168f
Branches
Tags
No related merge requests found
......@@ -200,7 +200,7 @@ class CRM_Case_Form_Case extends CRM_Core_Form {
*/
public function setDefaultValues() {
if ($this->_action & CRM_Core_Action::DELETE || $this->_action & CRM_Core_Action::RENEW) {
return TRUE;
return [];
}
$className = "CRM_Case_Form_Activity_{$this->_activityTypeFile}";
$defaults = $className::setDefaultValues($this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment