I just installed this module and saw that the credit card year was not working with the default of "displays month in name". So in the above file in the "displays month in name" drop down section I duplicated this code;
$today = getdate();
for ($i = $today['year']; $i < $today['year'] + 10; $i++) {
$expires_year[] = array(
'id' => strftime('%y', mktime(0, 0, 0, 1, 1, $i)),
'text' => strftime('%Y', mktime(0, 0, 0, 1, 1, $i))
);
Just before this line;
//$i = 1; $i < 13; $i++
And that fixed the problem. It looks like just a simple oversite on the commenting. I have another issue that I will start another thread on.
Bookmarks