Skip to content

Commit

Permalink
Merge pull request #11049 from frederic34/patch-5
Browse files Browse the repository at this point in the history
Update mod_expedition_ribera.php
  • Loading branch information
eldy committed Apr 24, 2019
2 parents ad9dfc8 + 9b9d4dd commit 0090b26
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions htdocs/core/modules/expedition/mod_expedition_ribera.php
@@ -1,5 +1,6 @@
<?php
/* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
/* Copyright (C) 2011 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -59,11 +60,11 @@ class mod_expedition_ribera extends ModelNumRefExpedition
*/
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 Down

0 comments on commit 0090b26

Please sign in to comment.