summaryrefslogtreecommitdiff
path: root/pdf/cert_new.inc
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/cert_new.inc')
-rwxr-xr-xpdf/cert_new.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/cert_new.inc b/pdf/cert_new.inc
index 693758d..429f20b 100755
--- a/pdf/cert_new.inc
+++ b/pdf/cert_new.inc
@@ -43,7 +43,7 @@ function generate_pdf()
} //!$pdf
$pdf->AddPage();
$image_bg = $mpath . "/pdf/images/bg_cert.png";
- $pdf->Image($image_bg, 0, 0, $pdf->w, $pdf->h);
+ $pdf->Image($image_bg, 0, 0, $pdf->GetPageWidth(), $pdf->GetPageHeight());
$pdf->SetMargins(18, 1, 18);
$path = drupal_get_path('module', 'dwsim_flowsheet');
$pdf->Ln(15);