From: mark Date: Tue, 12 Oct 2010 00:12:02 +0000 (+0000) Subject: also fix this in the future X-Git-Tag: TORRUS_1_0_9~226 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=fa5a1ac184e1fa9448453655b7e1f8e1297ef3b6 also fix this in the future --- 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')