Skip to content

Commit

Permalink
The property db does not exist on mod_propale_saphir
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Dec 1, 2019
1 parent 5cb0144 commit c780838
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/core/modules/propale/mod_propale_saphir.php
Expand Up @@ -64,11 +64,11 @@ class mod_propale_saphir extends ModeleNumRefPropales
*/
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">';
Expand All @@ -77,7 +77,7 @@ public function info()
$texte.= '<input type="hidden" name="maskconstpropal" value="PROPALE_SAPHIR_MASK">';
$texte.= '<table class="nobordernopadding" width="100%">';

$tooltip=$langs->trans("GenericMaskCodes", $langs->transnoentities("Proposal"), $langs->transnoentities("Proposal"));
$tooltip = $langs->trans("GenericMaskCodes", $langs->transnoentities("Proposal"), $langs->transnoentities("Proposal"));
$tooltip.=$langs->trans("GenericMaskCodes2");
$tooltip.=$langs->trans("GenericMaskCodes3");
$tooltip.=$langs->trans("GenericMaskCodes4a", $langs->transnoentities("Proposal"), $langs->transnoentities("Proposal"));
Expand Down

0 comments on commit c780838

Please sign in to comment.