Merge pull request #12704 from frederic34/patch-20

The property db does not exist on mod_arctic
This commit is contained in:
Laurent Destailleur 2019-12-14 13:55:08 +01:00 committed by GitHub
commit a0d9a7a970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,11 +63,11 @@ class mod_arctic extends ModeleNumRefFicheinter
*/
public function info()
{
global $conf, $langs;
global $db, $conf, $langs;
$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">';