format fix
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 7 Sep 2015 14:28:20 +0000 (19:58 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Thu, 10 Sep 2015 08:24:31 +0000 (13:54 +0530)
CRM/Contribute/BAO/ContributionPage.php
CRM/Contribute/Form/ContributionBase.php

index 9965edc37419edf6a61aa6bf150268993e4a3c1d..29e651893ba3707966ce4801a1e9ffdd3e7e5b2d 100644 (file)
@@ -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',
         ),
       ),
     );
index ecbf990c89ab452e677313f8bc6ebf1c50bd91cd..91de4742fb0728ca07e7fed4b6c11ade11484bb5 100644 (file)
@@ -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,