diff --git a/enrol/authorize/ccval.php b/enrol/authorize/ccval.php index 7f16aba2c81..26ebda999fc 100644 --- a/enrol/authorize/ccval.php +++ b/enrol/authorize/ccval.php @@ -1,128 +1,126 @@ \ No newline at end of file + // If it passed (or bypassed) the card-specific check and the Total is + // evenly divisible by 10, it's cool! + return ($GoodCard && $Total % 10 == 0); +} +?>