From f23093b2e203ede3e6b2da657c2c607b72197f40 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Mon, 7 Sep 2015 19:58:20 +0530 Subject: [PATCH] format fix --- CRM/Contribute/BAO/ContributionPage.php | 6 +++--- CRM/Contribute/Form/ContributionBase.php | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/BAO/ContributionPage.php b/CRM/Contribute/BAO/ContributionPage.php index 9965edc374..29e651893b 100644 --- a/CRM/Contribute/BAO/ContributionPage.php +++ b/CRM/Contribute/BAO/ContributionPage.php @@ -786,16 +786,16 @@ LEFT JOIN civicrm_premiums ON ( civicrm_premiums.entity_id = civicrm $moduleDataFormat = array( 'soft_credit' => array( - 'soft_credit_types', + 1 => 'soft_credit_types', 'multilingual' => array( 'honor_block_title', 'honor_block_text', ), ), 'on_behalf' => array( - 'is_for_organization', + 1 => 'is_for_organization', 'multilingual' => array( - 'for_organization' + 'for_organization', ), ), ); diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index ecbf990c89..91de4742fb 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -819,7 +819,10 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { if (count($employer)) { // Related org url - pass checksum if needed - $args = array('ufId' => $form->_onBehalfProfileId, 'cid' => '',); + $args = array( + 'ufId' => $form->_onBehalfProfileId, + 'cid' => '', + ); if (!empty($_GET['cs'])) { $args = array( 'ufId' => $form->_onBehalfProfileId, -- 2.25.1