Remove Eclipse variable warning
This commit is contained in:
parent
668bec3775
commit
07fc51b7ff
@ -156,7 +156,7 @@ abstract class ModeleNumRefFicheinter
|
||||
*/
|
||||
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");
|
||||
|
||||
$error=0;
|
||||
|
||||
@ -398,7 +398,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
|
||||
$pdf->Output($file,'F');
|
||||
|
||||
// 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');
|
||||
$hookmanager=new HookManager($this->db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user