projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #15345 from yashodha/CRM-21677
[civicrm-core.git]
/
CRM
/
Contribute
/
Form.php
diff --git
a/CRM/Contribute/Form.php
b/CRM/Contribute/Form.php
index 7beab54f86d78c0df890efbb8e7cdfbf28478704..745b0d7c66cbb9d1893dc5120304a82e1d7f67ec 100644
(file)
--- a/
CRM/Contribute/Form.php
+++ b/
CRM/Contribute/Form.php
@@
-42,10
+42,10
@@
class CRM_Contribute_Form extends CRM_Admin_Form {
* @return array
*/
public function setDefaultValues() {
* @return array
*/
public function setDefaultValues() {
- $defaults =
array()
;
+ $defaults =
[]
;
if (isset($this->_id)) {
if (isset($this->_id)) {
- $params =
array('id' => $this->_id)
;
+ $params =
['id' => $this->_id]
;
if (!empty($this->_BAOName)) {
$baoName = $this->_BAOName;
$baoName::retrieve($params, $defaults);
if (!empty($this->_BAOName)) {
$baoName = $this->_BAOName;
$baoName::retrieve($params, $defaults);