Skip to content

Commit

Permalink
dev/core#4974 Fix total fees over-sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Feb 7, 2024
1 parent 885b282 commit b30aea1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CRM/Event/Form/Registration/Register.php
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,9 @@ public static function checkRegistration($fields, $form, $isAdditional = FALSE)
* @throws \CRM_Core_Exception
*/
private function isSuppressPayment(): bool {
if (!$this->getPriceSetID()) {
return TRUE;
}
if ($this->_allowConfirmation) {
// They might be paying for a now-confirmed registration.
return FALSE;
Expand Down

0 comments on commit b30aea1

Please sign in to comment.