Fix: Bad object

This commit is contained in:
Laurent Destailleur
2010-08-31 21:02:01 +00:00
parent 7e4ac7ce74
commit bb4ca59ce3
14 changed files with 14 additions and 14 deletions

View File

@@ -491,7 +491,7 @@ class pdf_edison extends ModelePDFCommandes
global $conf,$langs,$mysoc;
$langs->load("orders");
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
//Affiche le filigrane brouillon - Print Draft Watermark
if($object->statut==0 && (! empty($conf->global->COMMANDE_DRAFT_WATERMARK)) )

View File

@@ -817,7 +817,7 @@ class pdf_einstein extends ModelePDFCommandes
$outputlangs->load("propal");
$outputlangs->load("companies");
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
//Affiche le filigrane brouillon - Print Draft Watermark
if($object->statut==0 && (! empty($conf->global->COMMANDE_DRAFT_WATERMARK)) )