From 9ae57c262476c253e371ff9377b291a7c24688a7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 17 Apr 2005 13:27:59 +0000 Subject: [PATCH] =?UTF-8?q?Modification=20de=20l'appel=20de=20la=20g=E9n?= =?UTF-8?q?=E9ration=20du=20pdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/expedition/expedition.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/expedition.class.php b/htdocs/expedition/expedition.class.php index d2d7526a54c..9d3b9cfd4c4 100644 --- a/htdocs/expedition/expedition.class.php +++ b/htdocs/expedition/expedition.class.php @@ -412,7 +412,7 @@ class Expedition $mod = "pdf_expedition_rouget"; require_once $module_file_name; - $pdf = new $mod($this->db, $this); + $pdf = new $mod($this->db); $dir = DOL_DATA_ROOT . "/expedition/" . $this->id ; @@ -426,7 +426,7 @@ class Expedition if (file_exists($dir)) { - $pdf->generate($file); + $pdf->generate($this, $file); } }