From dc9312cae327017ef623619940c7eb99d10aeb81 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 21 Jul 2011 18:35:53 +0530 Subject: [PATCH] Return assigned to wrong variable --- libraries/gis/pma_gis_geometrycollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/gis/pma_gis_geometrycollection.php b/libraries/gis/pma_gis_geometrycollection.php index 2b198f23a4..ca48f082bc 100644 --- a/libraries/gis/pma_gis_geometrycollection.php +++ b/libraries/gis/pma_gis_geometrycollection.php @@ -130,7 +130,7 @@ class PMA_GIS_Geometrycollection extends PMA_GIS_Geometry $type = substr($sub_part, 0, $type_pos); $gis_obj = PMA_GIS_Factory::factory($type); - $image = $gis_obj->prepareRowAsPdf($sub_part, $label, $color, $scale_data, $pdf); + $pdf = $gis_obj->prepareRowAsPdf($sub_part, $label, $color, $scale_data, $pdf); } return $pdf; }