[Mapbender-commits] r6197 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed May 12 06:06:02 EDT 2010
Author: christoph
Date: 2010-05-12 06:05:56 -0400 (Wed, 12 May 2010)
New Revision: 6197
Modified:
trunk/mapbender/http/php/mod_changeEPSG_server.php
Log:
Modified: trunk/mapbender/http/php/mod_changeEPSG_server.php
===================================================================
--- trunk/mapbender/http/php/mod_changeEPSG_server.php 2010-05-12 10:05:17 UTC (rev 6196)
+++ trunk/mapbender/http/php/mod_changeEPSG_server.php 2010-05-12 10:05:56 UTC (rev 6197)
@@ -65,10 +65,12 @@
$resMaxy = db_query($sqlMaxy);
$maxy = floatval(db_result($resMaxy,0,"maxy"));
- if (!$resMinx || !$resMiny || !$resMaxx || !$resMaxy) {
- $ajaxResponse->setSuccess(false);
- $ajaxResponse->setMessage(_mb("The coordinates could not be projected."));
- $ajaxResponse->send();
+ if ($currentEpsg->frameName) {
+ if (!$resMinx || !$resMiny || !$resMaxx || !$resMaxy) {
+ $ajaxResponse->setSuccess(false);
+ $ajaxResponse->setMessage(_mb("The coordinates could not be projected."));
+ $ajaxResponse->send();
+ }
}
$extenty = $maxy - $miny;
More information about the Mapbender_commits
mailing list