From fad777ecb23ac323ba4b1a86220f8b4b7c612306 Mon Sep 17 00:00:00 2001 From: BlinK_ Date: Wed, 31 Mar 2010 10:28:11 +0200 Subject: [PATCH] Do not use private variable, use getter instead (patch #2978828). --- pdf_schema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf_schema.php b/pdf_schema.php index 086301af0..552ee321d 100644 --- a/pdf_schema.php +++ b/pdf_schema.php @@ -896,7 +896,7 @@ class PMA_RT { $pdf->SetDrawColor(200, 200, 200); // Draws horizontal lines for ($l = 0; $l < 21; $l++) { - $pdf->line(0, $l * 10, $pdf->fh, $l * 10); + $pdf->line(0, $l * 10, $pdf->getFh(), $l * 10); // Avoid duplicates if ($l > 0) { $pdf->SetXY(0, $l * 10); @@ -906,7 +906,7 @@ class PMA_RT { } // end for // Draws vertical lines for ($j = 0; $j < 30 ;$j++) { - $pdf->line($j * 10, 0, $j * 10, $pdf->fw); + $pdf->line($j * 10, 0, $j * 10, $pdf->getFw()); $pdf->SetXY($j * 10, 0); $label = (string) sprintf('%.0f', ($j * 10 - $this->l_marg) * $this->scale + $this->x_min); $pdf->Cell(5, 7, $label);