Skip to content

Commit

Permalink
Merge pull request #3833 from grandoc/3.8
Browse files Browse the repository at this point in the history
[Qual] Prevent warning
  • Loading branch information
Juanjo Menent committed Oct 30, 2015
2 parents efb6e87 + c26c8c7 commit 2f8afda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/exports/index.php
Expand Up @@ -123,7 +123,7 @@
print '</tr>';

include_once DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php';
$model=new ModeleExports();
$model=new ModeleExports($db);
$liste=$model->liste_modeles($db); // This is not a static method for exports because method load non static properties

$var=true;
Expand Down

0 comments on commit 2f8afda

Please sign in to comment.