--- facture.php	2008-10-30 14:54:53.609546300 +0100
+++ facture.php_new	2008-10-30 14:54:44.647546300 +0100
@@ -908,7 +908,7 @@
 				$outputlangs = new Translate("",$conf);
 				$outputlangs->setDefaultLang($_REQUEST['lang_id']);
 			}
-			facture_pdf_create($db, $fac->id, $fac->modelpdf, $outputlangs);
+			facture_pdf_create($db, $fac->id, '', $fac->modelpdf, $outputlangs);
 	}
 	else
 	{
