1 parent 10a5a03 commit aba211fCopy full SHA for aba211f
1 file changed
system/Validation/CreditCardRules.php
@@ -199,7 +199,6 @@ public function valid_cc_number(?string $ccNumber, string $type): bool
199
// Remove any spaces and dashes
200
$ccNumber = str_replace([' ', '-'], '', $ccNumber);
201
202
- // Non-numeric values cannot be a number...duh
203
if (! ctype_digit($ccNumber)) {
204
return false;
205
}
0 commit comments