Merge pull request #12598 from frederic34/patch-15

The property db does not exist on mod_livraison_saphir
This commit is contained in:
Laurent Destailleur 2019-12-03 13:26:16 +01:00 committed by GitHub
commit b1f2495771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,11 +62,11 @@ class mod_livraison_saphir extends ModeleNumRefDeliveryOrder
*/
public function info()
{
global $conf, $langs;
global $conf, $langs, $db;
$langs->load("bills");
$form = new Form($this->db);
$form = new Form($db);
$texte = $langs->trans('GenericNumRefModelDesc')."<br>\n";
$texte .= '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';