Fix build

This commit is contained in:
Romain Neutron
2012-01-26 19:12:51 +01:00
parent defb77b314
commit b299e7d042
15 changed files with 84 additions and 61 deletions

View File

@@ -106,10 +106,10 @@ class PDF
switch ($layout)
{
case "preview":
$this->print_preview();
$this->print_preview(false);
break;
case "previewCaption":
$this->print_preview();
$this->print_preview(false);
break;
case "previewCaptionTdm":
$this->print_preview(true);
@@ -329,7 +329,7 @@ class PDF
$this->pdf->SetLeftMargin($lmargin);
}
protected function print_preview($withtdm=false)
protected function print_preview($withtdm)
{
$appbox = \appbox::get_instance();
$registry = \registry::get_instance();