Skip to content
Snippets Groups Projects
Commit 07fc51b7 authored by Florian Henry's avatar Florian Henry
Browse files

Remove Eclipse variable warning

parent 668bec37
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ abstract class ModeleNumRefFicheinter ...@@ -156,7 +156,7 @@ abstract class ModeleNumRefFicheinter
*/ */
function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0, $hookmanager=false) function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0, $hookmanager=false)
{ {
global $conf,$langs; global $conf,$langs,$user;
$langs->load("ficheinter"); $langs->load("ficheinter");
$error=0; $error=0;
......
...@@ -398,7 +398,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices ...@@ -398,7 +398,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
$pdf->Output($file,'F'); $pdf->Output($file,'F');
// Actions on extra fields (by external module or standard code) // Actions on extra fields (by external module or standard code)
if (! is_object($hookmanager)) if (!is_object($hookmanager))
{ {
include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php'); include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
$hookmanager=new HookManager($this->db); $hookmanager=new HookManager($this->db);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment