Skip to content

Commit e075ccb

Browse files
committed
Fix Character type handling in WMS dimension filters (#5374)
1 parent f53fd78 commit e075ccb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mapogcfilter.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ char *FLTGetExpressionForValuesRanges(layerObj *lp, const char *item, const char
164164
if (paszElements && numelements > 0) {
165165
if (forcecharcter)
166166
bIscharacter = MS_TRUE;
167-
bIscharacter= !FLTIsNumeric(paszElements[0]);
167+
else
168+
bIscharacter= !FLTIsNumeric(paszElements[0]);
168169

169170
pszTmpExpression = msStringConcatenate(pszTmpExpression, "(");
170171
for (i=0; i<numelements; i++) {

0 commit comments

Comments
 (0)