Correction pb this

This commit is contained in:
Laurent Destailleur 2007-07-27 00:09:51 +00:00
parent 2e9dc28eaa
commit b1787520e6

View File

@ -190,7 +190,6 @@ function facture_pdf_create($db, $id, $message='', $modele='', $outputlangs='')
else
{
dolibarr_print_error('',"facture_pdf_create Error: ".$obj->error);
$this->error=$langs->trans("Error")." ".$obj->error;
return -1;
}
@ -276,7 +275,6 @@ function facture_delete_preview($db, $facid)
{
if ( ! unlink($file) )
{
$this->error=$langs->trans("ErrorFailedToOpenFile",$file);
return 0;
}
}