projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab355b
)
dev/core#4190 Fix issue where defaultValues needs to be an array not boolean
author
Seamus Lee
<seamuslee001@gmail.com>
Thu, 16 Mar 2023 21:34:02 +0000
(08:34 +1100)
committer
Seamus Lee
<seamuslee001@gmail.com>
Thu, 16 Mar 2023 21:34:02 +0000
(08:34 +1100)
CRM/Case/Form/Case.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Case/Form/Case.php
b/CRM/Case/Form/Case.php
index ec036cebc441de6ee2a4ff74a0fbd1406de5adc3..76800a435858fd1dfcadb0e4fd72819b39cb85e9 100644
(file)
--- a/
CRM/Case/Form/Case.php
+++ b/
CRM/Case/Form/Case.php
@@
-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);