You are here

function _valid_card_issue in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_credit/uc_credit.module \_valid_card_issue()
2 calls to _valid_card_issue()
uc_payment_method_credit in payment/uc_credit/uc_credit.module
uc_payment_method_credit_form in payment/uc_credit/uc_credit.module

File

payment/uc_credit/uc_credit.module, line 1753
Defines the credit card payment method and hooks in payment gateways.

Code

function _valid_card_issue($issue) {
  if (empty($issue) || is_numeric($issue) && $issue > 0) {
    return TRUE;
  }
  return FALSE;
}