Remove Eclipse variable warning

This commit is contained in:
FHenry 2012-04-20 15:54:37 +02:00
parent 668bec3775
commit 07fc51b7ff
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);