To avoid php notices on undefined variables
This commit is contained in:
@@ -979,14 +979,17 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema
|
|||||||
*/
|
*/
|
||||||
private function _strokeGrid()
|
private function _strokeGrid()
|
||||||
{
|
{
|
||||||
global $pdf, $with_doc;
|
global $pdf;
|
||||||
|
|
||||||
$gridSize = 10;
|
$gridSize = 10;
|
||||||
$labelHeight = 4;
|
$labelHeight = 4;
|
||||||
$labelWidth = 5;
|
$labelWidth = 5;
|
||||||
if ($with_doc) {
|
if ($this->withDoc) {
|
||||||
$topSpace = 6;
|
$topSpace = 6;
|
||||||
$bottomSpace = 15;
|
$bottomSpace = 15;
|
||||||
|
} else {
|
||||||
|
$topSpace = 0;
|
||||||
|
$bottomSpace = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$pdf->SetMargins(0, 0);
|
$pdf->SetMargins(0, 0);
|
||||||
|
Reference in New Issue
Block a user