This commit is contained in:
Regis Houssin 2006-02-18 13:49:28 +00:00
parent bef1c7e247
commit d5bbb68eaf
2 changed files with 3 additions and 3 deletions

View File

@ -179,7 +179,7 @@ print ' <td align="center">'.$langs->trans("Default")."</td>\n";
print "</tr>\n";
clearstatcache();
$dir = "../fourn/commande/modules/pdf/";
$def = array();
$sql = "SELECT nom FROM ".MAIN_DB_PREFIX."commande_fournisseur_model_pdf";
$resql=$db->query($sql);

View File

@ -1875,7 +1875,7 @@ class Form
{
include_once(DOL_DOCUMENT_ROOT.'/fourn/commande/modules/modules_commandefournisseur.php');
$model=new ModelePDFCommandesSuppliers();
$modellist=$model->liste_modeles();
$modellist=$model->liste_modeles($this->db);
}
}
else if ($modulepart == 'facture_fournisseur')
@ -1885,7 +1885,7 @@ class Form
{
include_once(DOL_DOCUMENT_ROOT.'/fourn/facture/modules/modules_facturefournisseur.php');
$model=new ModelePDFFacturesSuppliers();
$modellist=$model->liste_modeles();
$modellist=$model->liste_modeles($this->db);
}
}
else