From c77515a8a4e72cb58e35a8c7e699172e0d8dd0b6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 8 Nov 2007 23:18:48 +0000 Subject: [PATCH] Fix: Mois sur titre rapport paiements --- htdocs/compta/paiement/rapport.php | 3 +-- htdocs/includes/modules/rapport/pdf_paiement.class.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php index aa8d459eeaf..32641569c1a 100644 --- a/htdocs/compta/paiement/rapport.php +++ b/htdocs/compta/paiement/rapport.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2006 Laurent Destailleur + * Copyright (C) 2004-2007 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,7 +17,6 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ - * $Source$ */ /** diff --git a/htdocs/includes/modules/rapport/pdf_paiement.class.php b/htdocs/includes/modules/rapport/pdf_paiement.class.php index 5af2fe89db5..691a3d0d4cb 100644 --- a/htdocs/includes/modules/rapport/pdf_paiement.class.php +++ b/htdocs/includes/modules/rapport/pdf_paiement.class.php @@ -18,7 +18,6 @@ * or see http://www.gnu.org/ * * $Id$ - * $Source$ */ /** @@ -75,7 +74,7 @@ class pdf_paiement extends FPDF { global $langs; - $title=$this->description.' - '.dolibarr_print_date(mktime($this->year,0,0,$this->month),"%B %Y"); + $title=$this->description.' - '.dolibarr_print_date(dolibarr_mktime(0,0,0,$this->month,1,$this->year),"%B %Y"); $pdf->SetFont('Arial','B',12); $pdf->Text(76, 10, $title);