Fix: unit test warning

This commit is contained in:
Regis Houssin 2012-03-03 07:45:25 +01:00
parent 034b0fc4d4
commit 047edc69f9
8 changed files with 8 additions and 8 deletions

View File

@ -298,7 +298,7 @@ class pdf_edison extends ModelePDFCommandes
$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);

View File

@ -407,7 +407,7 @@ class pdf_einstein extends ModelePDFCommandes
$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);

View File

@ -412,7 +412,7 @@ class pdf_crabe extends ModelePDFFactures
$pdf->Output($file,'F');
// Add pdfgeneration hook
if (is_object($hookmanager))
if (! is_object($hookmanager))
{
include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
$hookmanager=new HookManager($this->db);

View File

@ -300,7 +300,7 @@ class pdf_oursin extends ModelePDFFactures
$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);

View File

@ -393,7 +393,7 @@ class pdf_azur extends ModelePDFPropales
$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);

View File

@ -393,7 +393,7 @@ class pdf_jaune extends ModelePDFPropales
$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);

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

View File

@ -406,7 +406,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
// Add pdfgeneration hook
if (is_object($hookmanager))
if (! is_object($hookmanager))
{
include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
$hookmanager=new HookManager($this->db);