From: monishdeb Date: Tue, 20 Jan 2015 06:34:51 +0000 (+0530) Subject: CRM-15839 fix - Honoree profile doesn't show on Test contribution page X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7342c579f3ecc64c214831bdd894f14f19c58137;p=civicrm-core.git CRM-15839 fix - Honoree profile doesn't show on Test contribution page https://issues.civicrm.org/jira/browse/CRM-15839 --- diff --git a/CRM/Contribute/Form/SoftCredit.php b/CRM/Contribute/Form/SoftCredit.php index b8145f7898..8f4baeed13 100644 --- a/CRM/Contribute/Form/SoftCredit.php +++ b/CRM/Contribute/Form/SoftCredit.php @@ -76,7 +76,7 @@ class CRM_Contribute_Form_SoftCredit { * @return void */ static function buildQuickForm(&$form) { - if ($form->_mode == 'live' && !empty($form->_honor_block_is_active)) { + if (!empty($form->_honor_block_is_active)) { $ufJoinDAO = new CRM_Core_DAO_UFJoin(); $ufJoinDAO->module = 'soft_credit'; $ufJoinDAO->entity_id = $form->_id;