}
}
+ /**
+ * @param $form
+ */
static function postProcess($form) {
$params = $form->_params;
- if ($form->_honor_block_is_active && !empty($params['soft_credit_type_id'])) {
+ if (!empty($form->_honor_block_is_active) && !empty($params['soft_credit_type_id'])) {
$honorId = null;
//check if there is any duplicate contact