[Mapbender-commits] r7484 - trunk/mapbender/http/extensions/fpdf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jan 28 06:30:11 EST 2011


Author: kmq
Date: 2011-01-28 03:30:11 -0800 (Fri, 28 Jan 2011)
New Revision: 7484

Modified:
   trunk/mapbender/http/extensions/fpdf/mb_fpdi.php
Log:
fix printmodule to call parent correctly 

Modified: trunk/mapbender/http/extensions/fpdf/mb_fpdi.php
===================================================================
--- trunk/mapbender/http/extensions/fpdf/mb_fpdi.php	2011-01-28 10:41:27 UTC (rev 7483)
+++ trunk/mapbender/http/extensions/fpdf/mb_fpdi.php	2011-01-28 11:30:11 UTC (rev 7484)
@@ -5,7 +5,7 @@
 class mb_fpdi extends FPDI {
 
     function mb_fpdi($orientation='L',$unit='mm',$format='A4') {
-        parent::FPDI($orientation,$unit,$format);
+        parent::__construct($orientation,$unit,$format);
         $this->SetAutoPageBreak(false,0);
     }	
 
@@ -527,4 +527,4 @@
     
 }
 
-?>
\ No newline at end of file
+?>



More information about the Mapbender_commits mailing list