Skip to content

Commit

Permalink
Fix Character type handling in WMS dimension filters (#5374)
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Jan 23, 2017
1 parent f53fd78 commit e075ccb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapogcfilter.c
Expand Up @@ -164,7 +164,8 @@ char *FLTGetExpressionForValuesRanges(layerObj *lp, const char *item, const char
if (paszElements && numelements > 0) { if (paszElements && numelements > 0) {
if (forcecharcter) if (forcecharcter)
bIscharacter = MS_TRUE; bIscharacter = MS_TRUE;
bIscharacter= !FLTIsNumeric(paszElements[0]); else
bIscharacter= !FLTIsNumeric(paszElements[0]);


pszTmpExpression = msStringConcatenate(pszTmpExpression, "("); pszTmpExpression = msStringConcatenate(pszTmpExpression, "(");
for (i=0; i<numelements; i++) { for (i=0; i<numelements; i++) {
Expand Down

0 comments on commit e075ccb

Please sign in to comment.