Update mod_commande_fournisseur_orchidee.php

The property db does not exist on mod_commande_fournisseur_orchidee
This commit is contained in:
Frédéric FRANCE 2019-02-13 23:39:02 +01:00 committed by GitHub
parent 749c7d9b0d
commit 5c50ea8afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,12 +63,12 @@ class mod_commande_fournisseur_orchidee extends ModeleNumRefSuppliersOrders
*/ */
function info() function info()
{ {
global $conf, $langs; global $db, $conf, $langs;
// Load translation files required by the page // Load translation files required by the page
$langs->loadLangs(array("bills","admin")); $langs->loadLangs(array("bills","admin"));
$form = new Form($this->db); $form = new Form($db);
$texte = $langs->trans('GenericNumRefModelDesc')."<br>\n"; $texte = $langs->trans('GenericNumRefModelDesc')."<br>\n";
$texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'; $texte.= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';