Changeset 11847


Ignore:
Timestamp:
Jun 23, 2011 6:34:53 AM (5 years ago)
Author:
dmorissette
Message:

Fixed handling of wms_enable_request vs GetCapabilities? on GROUPed layers (#3931)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mapserver/mapwms.c

    r11828 r11847  
    26742674                   if (!pabLayerProcessed[j] &&
    26752675                       GET_LAYER(map, j)->group &&
    2676                        strcmp(lp->group, GET_LAYER(map, j)->group) == 0 )
     2676                       strcmp(lp->group, GET_LAYER(map, j)->group) == 0 &&
     2677                       msIntegerInArray(GET_LAYER(map, j)->index, ows_request->enabled_layers, ows_request->numlayers))
    26772678                     group_layers[num_layers++] = j;
    26782679                 if ( num_layers > 0)
     
    27422743                 if (!pabLayerProcessed[j] &&
    27432744                     GET_LAYER(map, j)->group &&
    2744                      strcmp(lp->group, GET_LAYER(map, j)->group) == 0 )
     2745                     strcmp(lp->group, GET_LAYER(map, j)->group) == 0 &&
     2746                     msIntegerInArray(GET_LAYER(map, j)->index, ows_request->enabled_layers, ows_request->numlayers))
    27452747                 {
    27462748                     msDumpLayer(map, (GET_LAYER(map, j)), nVersion, script_url_encoded, "  ");
Note: See TracChangeset for help on using the changeset viewer.