Index: trunk/scripts/SyncEditorLayerIndex.groovy
===================================================================
--- trunk/scripts/SyncEditorLayerIndex.groovy	(revision 13474)
+++ trunk/scripts/SyncEditorLayerIndex.groovy	(revision 13476)
@@ -216,5 +216,5 @@
         if(getMaxZoom(entry) != null)
             res += offset + "<max-zoom>${getMaxZoom(entry)}</max-zoom>\n"
-        if (t == "tms") {
+        if (t == "wms") {
             def p = getProjections(entry)
             if (p) {
