From 92be75869274a6a64872ce6ca1fedd322f0f88bb Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 16 Nov 2010 11:50:04 +0000 Subject: [PATCH] New: Year, then month to have files sorted --- htdocs/includes/modules/rapport/pdf_paiement.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/includes/modules/rapport/pdf_paiement.class.php b/htdocs/includes/modules/rapport/pdf_paiement.class.php index 68c30e2fe6b..9eb917d2a22 100644 --- a/htdocs/includes/modules/rapport/pdf_paiement.class.php +++ b/htdocs/includes/modules/rapport/pdf_paiement.class.php @@ -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)