Permalink
Browse files

Fix Character type handling in WMS dimension filters (#5374)

  • Loading branch information...
szekerest committed Jan 23, 2017
1 parent f53fd78 commit e075ccbd022bd44fdb31bdf2c9d563383c96cc7d
Showing with 2 additions and 1 deletion.
  1. +2 −1 mapogcfilter.c
View
@@ -164,7 +164,8 @@ char *FLTGetExpressionForValuesRanges(layerObj *lp, const char *item, const char
if (paszElements && numelements > 0) {
if (forcecharcter)
bIscharacter = MS_TRUE;
- bIscharacter= !FLTIsNumeric(paszElements[0]);
+ else
+ bIscharacter= !FLTIsNumeric(paszElements[0]);
pszTmpExpression = msStringConcatenate(pszTmpExpression, "(");
for (i=0; i<numelements; i++) {

0 comments on commit e075ccb

Please sign in to comment.