Skip to content

Commit

Permalink
Fix hard coded string that prevented projection files other thar Merc…
Browse files Browse the repository at this point in the history
… to be used
  • Loading branch information
pjeweb committed Apr 27, 2015
1 parent e544667 commit dc47e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Projection.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function loadProjCode($projName) {
$class = __NAMESPACE__ . '\\Projections\\' . ucfirst($projName);

if (class_exists($class)) {
Proj4::$proj['merc'] = new $class();
Proj4::$proj[$projName] = new $class();
$this->loadProjCodeSuccess($projName);
return;
}
Expand Down

0 comments on commit dc47e5d

Please sign in to comment.