Update intracommreport.class.php
This commit is contained in:
parent
1bb2fc0db4
commit
0db7847ba7
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2015 ATM Consulting <support@atm-consulting.fr>
|
||||
* Copyright (C) 2019-2020 Open-DSI <support@open-dsi.fr>
|
||||
* Copyright (C) 2020 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
|
||||
@ -189,7 +190,7 @@ class IntracommReport extends CommonObject
|
||||
}
|
||||
|
||||
if ($exporttype == 'deb' && $conf->global->INTRACOMMREPORT_CATEG_FRAISDEPORT > 0) {
|
||||
$categ_fraisdeport = new Categorie();
|
||||
$categ_fraisdeport = new Categorie($this->db);
|
||||
$categ_fraisdeport->fetch($conf->global->INTRACOMMREPORT_CATEG_FRAISDEPORT);
|
||||
$TLinesFraisDePort = array();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user