We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474f04b commit 3a0fa0eCopy full SHA for 3a0fa0e
CRM/Event/Form/Participant.php
@@ -1460,8 +1460,8 @@ public function postProcess() {
1460
}
1461
1462
// also store lineitem stuff here
1463
- if (($this->_lineItem & $this->_action & CRM_Core_Action::ADD) ||
1464
- ($this->_lineItem && CRM_Core_Action::UPDATE && !$this->_paymentId)
+ if ((!empty($this->_lineItem) && ($this->_action & CRM_Core_Action::ADD)) ||
+ (!empty($this->_lineItem) && ($this->_action & CRM_Core_Action::UPDATE) && !$this->_paymentId)
1465
) {
1466
require_once 'CRM/Price/BAO/LineItem.php';
1467
foreach ($this->_contactIds as $num => $contactID) {
0 commit comments