Skip to content

Commit

Permalink
allow empty wms styles (#4355)
Browse files Browse the repository at this point in the history
closes #4355
  • Loading branch information
tbonfort committed Sep 5, 2012
1 parent 5e9c8a1 commit ee0e42c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapwms.c
Expand Up @@ -1540,7 +1540,7 @@ this request. Check wms/ows_enable_request settings.",
int numlayers =0;
layerObj *lp = NULL;

tokens = msStringSplit(styles, ',' ,&n);
tokens = msStringSplitComplex(styles, ",",&n,MS_ALLOWEMPTYTOKENS);
for (i=0; i<n; i++) {
if (tokens[i] && strlen(tokens[i]) > 0 &&
strcasecmp(tokens[i],"default") != 0) {
Expand Down

0 comments on commit ee0e42c

Please sign in to comment.