[mapserver-commits] r9614 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Dec 11 09:37:36 EST 2009


Author: assefa
Date: 2009-12-11 09:37:35 -0500 (Fri, 11 Dec 2009)
New Revision: 9614

Modified:
   trunk/mapserver/mapwfs.c
Log:
coorrect error when parsing property names #675

Modified: trunk/mapserver/mapwfs.c
===================================================================
--- trunk/mapserver/mapwfs.c	2009-12-11 13:46:20 UTC (rev 9613)
+++ trunk/mapserver/mapwfs.c	2009-12-11 14:37:35 UTC (rev 9614)
@@ -1183,7 +1183,7 @@
                       sprintf(szTmp, "%s_alias", lp->items[z]);
                       pszFullName = msOWSLookupMetadata(&(lp->metadata), "G", szTmp);
                       if (pszFullName)
-                        papszPropertyName[k] = msReplaceSubstring(papszPropertyName[i], pszFullName, lp->items[z]);
+                        papszPropertyName[k] = msReplaceSubstring(papszPropertyName[k], pszFullName, lp->items[z]);
                   
                   }
                   msLayerClose(lp);



More information about the mapserver-commits mailing list