Skip to content

Commit

Permalink
Merge pull request #374 from tdt/development
Browse files Browse the repository at this point in the history
Hotfix for Geojsonformatter
  • Loading branch information
coreation committed Jan 20, 2016
2 parents e47dce2 + 3708929 commit 0c0c5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Tdt/Core/Formatters/GEOJSONFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public static function convertCoordinateArray($str)
} elseif (count($coord_array) == 3) {
array_push($result, array(floatval($coord_array[0]), floatval($coord_array[1]), floatval($coord_array[2])));
} else {
\Log::error("400", "An invalid coordinate was parsed.");
\Log::warning("An invalid coordinate was parsed.");
}
}
return $result;
Expand Down Expand Up @@ -318,7 +318,7 @@ public static function convertCoordinateSingleArray($str)
} elseif (count($coordinates_array) == 3) {
array_push($result, array(floatval($coordinates_array[0]), floatval($coordinates_array[1]), floatval($coordinates_array[2])));
} else {
\Log::error("400", "An invalid coordinate was parsed.");
\Log::warning("An invalid coordinate was parsed.");
}
}
return $result;
Expand Down

0 comments on commit 0c0c5ea

Please sign in to comment.