Skip to content
Snippets Groups Projects
Commit cb74ef60 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #2205 from pratik-joshi/CRM-13926

CRM-13926 : fix
parents 525b652b bfe40b9d
No related branches found
No related tags found
No related merge requests found
......@@ -841,7 +841,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration {
}
if ($self->_values['event']['is_monetary']) {
if ($fields['amount'] > 0 && !isset($fields['payment_processor'])) {
if (empty($self->_requireApproval) && $fields['amount'] > 0 && !isset($fields['payment_processor'])) {
$errors['payment_processor'] = ts('Please select a Payment Method');
}
if (is_array($self->_paymentProcessor)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment