diff options
author | mark <mark> | 2010-10-12 00:12:02 +0000 |
---|---|---|
committer | mark <mark> | 2010-10-12 00:12:02 +0000 |
commit | fa5a1ac184e1fa9448453655b7e1f8e1297ef3b6 (patch) | |
tree | d64089409c73c976c4bcd53ef49807bfac843589 | |
parent | ced232ee415f7c3d85f06a4581040c493c01f574 (diff) |
also fix this in the future
-rw-r--r-- | FS/FS/cust_main.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 7cfdd896b..a4bebb5f2 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1723,6 +1723,7 @@ sub check { } else { return "Illegal expiration date: ". $self->paydate; } + $m = sprintf('%02d',$m); $self->paydate("$y-$m-01"); my($nowm,$nowy)=(localtime(time))[4,5]; $nowm++; $nowy+=1900; return gettext('expired_card') |