Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -145,7 +145,7 @@ class _CreditCard
|
||||
}
|
||||
$obj->expMonth = str_pad( $expMonth, 2, '0', STR_PAD_LEFT );
|
||||
$obj->expYear = intval( $expYear );
|
||||
if ( mktime( 0, 0, 0, $expMonth, 1, $expYear ) < time() )
|
||||
if ( mktime( 23, 59, 59, $expMonth + 1, 0, $expYear ) < time() )
|
||||
{
|
||||
throw new \DomainException;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user