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 #15757 from yashodha/participant_edit
[civicrm-core.git]
/
CRM
/
Contribute
/
Form
/
SearchContribution.php
diff --git
a/CRM/Contribute/Form/SearchContribution.php
b/CRM/Contribute/Form/SearchContribution.php
index 729f5ca30d687a845f574b307295ea6654508d85..bf3f9c0529046243f6442f345efa7539aa2ec2f7 100644
(file)
--- a/
CRM/Contribute/Form/SearchContribution.php
+++ b/
CRM/Contribute/Form/SearchContribution.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-20
18
|
+ | Copyright CiviCRM LLC (c) 2004-20
20
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-20
18
+ * @copyright CiviCRM LLC (c) 2004-20
20
*/
class CRM_Contribute_Form_SearchContribution extends CRM_Core_Form {
*/
class CRM_Contribute_Form_SearchContribution extends CRM_Core_Form {
@@
-48,13
+48,13
@@
class CRM_Contribute_Form_SearchContribution extends CRM_Core_Form {
CRM_Campaign_BAO_Campaign::addCampaignInComponentSearch($this);
CRM_Campaign_BAO_Campaign::addCampaignInComponentSearch($this);
- $this->addButtons(
array(
- array(
+ $this->addButtons(
[
+ [
'type' => 'refresh',
'name' => ts('Search'),
'isDefault' => TRUE,
'type' => 'refresh',
'name' => ts('Search'),
'isDefault' => TRUE,
-
)
,
-
)
);
+
]
,
+
]
);
}
public function postProcess() {
}
public function postProcess() {
@@
-62,7
+62,7
@@
class CRM_Contribute_Form_SearchContribution extends CRM_Core_Form {
$parent = $this->controller->getParent();
$parent->set('searchResult', 1);
if (!empty($params)) {
$parent = $this->controller->getParent();
$parent->set('searchResult', 1);
if (!empty($params)) {
- $fields =
array('title', 'financial_type_id', 'campaign_id')
;
+ $fields =
['title', 'financial_type_id', 'campaign_id']
;
foreach ($fields as $field) {
if (isset($params[$field]) &&
!CRM_Utils_System::isNull($params[$field])
foreach ($fields as $field) {
if (isset($params[$field]) &&
!CRM_Utils_System::isNull($params[$field])