Permalink
Browse files

Modified mapfile.c for ticket #4568.

  • Loading branch information...
1 parent b95aa49 commit dbc929d5229896ba077e9249c83ed9a64a0f6eec @sdlime sdlime committed Jan 22, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 mapfile.c
View
@@ -6400,8 +6400,10 @@ void msApplyDefaultSubstitutions(mapObj *map)
for(i=0; i<map->numlayers; i++) {
layerObj *layer = GET_LAYER(map, i);
- applyLayerDefaultSubstitutions(layer, &(layer->validation));
+ applyLayerDefaultSubstitutions(layer, &(layer->validation)); /* layer settings take precedence */
applyLayerDefaultSubstitutions(layer, &(layer->metadata));
+ applyLayerDefaultSubstitutions(layer, &(map->web.validation));
+ applyLayerDefaultSubstitutions(layer, &(map->web.metadata));
}
}

0 comments on commit dbc929d

Please sign in to comment.