----------------------------------------
* CRM-13233: Payment Method field (payment_processor) should not be required if total fee is $0
http://issues.civicrm.org/jira/browse/CRM-13233
}
if ($self->_values['event']['is_monetary']) {
- if (($fields['amount'] > 0) && (!isset($fields['payment_processor']) && $fields['payment_processor'] != 0 )) {
+ if ($fields['amount'] > 0 && !isset($fields['payment_processor'])) {
$errors['payment_processor'] = ts('Please select a Payment Method');
}
if (is_array($self->_paymentProcessor)) {