bugfix
This commit is contained in:
parent
bef1c7e247
commit
d5bbb68eaf
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user