[Mapbender-commits] r4826 - branches/2.6/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Oct 20 08:14:02 EDT 2009
Author: christoph
Date: 2009-10-20 08:14:02 -0400 (Tue, 20 Oct 2009)
New Revision: 4826
Modified:
branches/2.6/http/classes/class_wmcToXml.php
Log:
avoid php notices
Modified: branches/2.6/http/classes/class_wmcToXml.php
===================================================================
--- branches/2.6/http/classes/class_wmcToXml.php 2009-10-20 12:13:33 UTC (rev 4825)
+++ branches/2.6/http/classes/class_wmcToXml.php 2009-10-20 12:14:02 UTC (rev 4826)
@@ -365,9 +365,9 @@
$wms_epsg[1] = $currentWms->gui_wms_epsg;
}
- for ($j = 0; $j < count($currentWms->gui_epsg); $j++) {
- if (!in_array($currentWms->gui_epsg[$j], $wms_epsg)){
- array_push($wms_epsg, $currentWms->gui_epsg[$j]);
+ for ($j = 0; $j < count($currentWms->gui_wms_epsg); $j++) {
+ if (!in_array($currentWms->gui_wms_epsg[$j], $wms_epsg)){
+ array_push($wms_epsg, $currentWms->gui_wms_epsg[$j]);
}
}
More information about the Mapbender_commits
mailing list