Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#789 - Bug fix for event reg error when skipping participants #13800

Merged
merged 3 commits into from
Mar 17, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
dev/core#789 - Bug fix for event reg error when skipping participants
  • Loading branch information
martinh-pw committed Mar 11, 2019
commit 1161c5fd58e1734d96f8c8b3e49d45827bba77c0
2 changes: 1 addition & 1 deletion CRM/Event/Form/Registration/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@ public function buildQuickForm() {

$taxAmount = 0;
foreach ($this->_params as $k => $v) {
$this->cleanMoneyFields($v);
if ($v == 'skip') {
continue;
}
$individualTaxAmount = 0;
//display tax amount on confirmation page
$taxAmount += $v['tax_amount'];
if (is_array($v)) {
$this->cleanMoneyFields($v);
foreach (array(
'first_name',
'last_name',
Expand Down