From 2eeb15fc142355f6e64e3b156f3e78e2e252b37e Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Fri, 11 Mar 2016 01:29:27 +0530 Subject: [PATCH] CRM-18163, removed code that explicitly set org id using org name ---------------------------------------- * CRM-18163: Unsupervised Organization Rule for On Behalf Of Contributions https://issues.civicrm.org/jira/browse/CRM-18163 --- CRM/Contribute/Form/Contribution/Confirm.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 40119a9469..062305e35b 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -223,9 +223,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr } // if onbehalf-of-organization if (!empty($this->_values['onbehalf_profile_id']) && !empty($this->_params['onbehalf']['organization_name'])) { - // CRM-15182 - $this->_params['organization_id'] = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $this->_params['onbehalf']['organization_name'], 'id', 'display_name'); - $this->_params['organization_name'] = $this->_params['onbehalf']['organization_name']; $addressBlocks = array( 'street_address', -- 2.25.1