New: Year, then month to have files sorted

This commit is contained in:
Laurent Destailleur 2010-11-16 11:50:04 +00:00
parent b6fe8b2ec4
commit 92be758692

View File

@ -101,7 +101,7 @@ class pdf_paiement
$month = sprintf("%02d",$month);
$year = sprintf("%04d",$year);
$file = $dir . "/payments-".$month."-".$year.".pdf";
$file = $dir . "/payments-".$year."-".$month.".pdf";
// Protection et encryption du pdf
if ($conf->global->PDF_SECURITY_ENCRYPTION)