Skip to content
Snippets Groups Projects
Commit 727edc99 authored by Seamus Lee's avatar Seamus Lee Committed by Eileen McNaughton
Browse files

#4190 Fix issue where defaultValues needs to be an array not boolean

parent 294997b2
No related branches found
No related tags found
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.
Finish editing this message first!
Please register or to comment