Update mod_payment_ant.php

This commit is contained in:
Frédéric FRANCE 2019-02-13 23:45:28 +01:00 committed by GitHub
parent 749c7d9b0d
commit 1e52ef19a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,11 +61,11 @@ class mod_payment_ant extends ModeleNumRefPayments
*/
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">';