diff --git a/app/Tdt/Core/Formatters/KMLFormatter.php b/app/Tdt/Core/Formatters/KMLFormatter.php index 6ac00d62..1ad1b786 100644 --- a/app/Tdt/Core/Formatters/KMLFormatter.php +++ b/app/Tdt/Core/Formatters/KMLFormatter.php @@ -30,7 +30,7 @@ public static function createResponse($dataObj) public static function getBody($dataObj) { self::$definition = $dataObj->definition; - self::$map_property = $dataObj->source_definition['map_property']; + self::$map_property = $dataObj->definition['map_property']; // Build the body // KML header