Skip to content

Commit

Permalink
Remove last pay_later_text isset
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Apr 11, 2022
1 parent 3453488 commit c89b524
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CRM/Event/Form/Registration/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ public function preProcess() {

$this->_params[0]['is_pay_later'] = $this->get('is_pay_later');
$this->assign('is_pay_later', $this->_params[0]['is_pay_later']);
if ($this->_params[0]['is_pay_later']) {
$this->assign('pay_later_receipt', $this->_values['event']['pay_later_receipt']);
}
$this->assign('pay_later_receipt', $this->_params[0]['is_pay_later'] ? $this->_values['event']['pay_later_receipt'] : NULL);

CRM_Utils_Hook::eventDiscount($this, $this->_params);

Expand Down

0 comments on commit c89b524

Please sign in to comment.