From: Pradeep Nayak Date: Thu, 10 Mar 2016 19:59:27 +0000 (+0530) Subject: CRM-18163, removed code that explicitly set org id using org name X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2eeb15fc142355f6e64e3b156f3e78e2e252b37e;p=civicrm-core.git 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 --- 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',