if ($this->_values['event']['is_monetary']) {
if (count($pps) > 1) {
$this->addRadio('payment_processor', ts('Payment Method'), $pps,
- NULL, " ", TRUE
+ NULL, " ", FALSE
);
}
elseif (!empty($pps)) {
}
if ($self->_values['event']['is_monetary']) {
- if (($fields['amount'] > 0) && !isset($fields['payment_processor'])) {
+ if (($fields['amount'] > 0) && empty($fields['payment_processor'])) {
$errors['payment_processor'] = ts('Please select a Payment Method');
}
if (is_array($self->_paymentProcessor)) {
}
cj('#priceset input').change(function () {
- if (((cj(this).attr('data-amount') == '0') || (cj('#pricevalue').text() == symbol + " 0.00" )) && flag ) {
+ if (((cj(this).attr('data-amount') == 0) || (cj('#pricevalue').text() == symbol + " 0.00" )) && flag ) {
cj(".payment_options-group").hide();
cj("div.payment_processor-section").hide();
cj("div#payment_information").hide();