diff --git a/htdocs/intracommreport/class/intracommreport.class.php b/htdocs/intracommreport/class/intracommreport.class.php index 3603aa86478..d1145dcf806 100644 --- a/htdocs/intracommreport/class/intracommreport.class.php +++ b/htdocs/intracommreport/class/intracommreport.class.php @@ -66,8 +66,8 @@ class IntracommReport extends CommonObject const TYPE_DES = 1; public static $type = array( - 'introduction'=>'Introduction' - ,'expedition'=>'Expédition' + 'introduction'=>'Introduction', + 'expedition'=>'Expédition' ); /** @@ -131,7 +131,7 @@ class IntracommReport extends CommonObject /********************************************************************/ /**************Ajout des lignes de factures**************************/ - $res = self::addItemsFact($declaration, $type, $period_reference); + $res = $this->addItemsFact($declaration, $type, $period_reference); /********************************************************************/ $this->errors = array_unique($this->errors);