Merge pull request #10588 from frederic34/patch-24

Update mod_commande_fournisseur_orchidee.php
This commit is contained in:
Laurent Destailleur 2019-02-14 13:29:15 +01:00 committed by GitHub
commit b69a416960
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">';