Permalink
Browse files

Allow empty items in inline features (#5182)

  • Loading branch information...
1 parent ed7d3f6 commit f404adf6ccc9f38d3774b24ffdfedd9aa0edabf9 @tbonfort tbonfort committed Oct 6, 2015
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapfile.c
View
@@ -946,7 +946,7 @@ static int loadFeature(layerObj *player, int type)
}
if (string) {
if(shape->values) msFreeCharArray(shape->values, shape->numvalues);
- shape->values = msStringSplit(string, ';', &shape->numvalues);
+ shape->values = msStringSplitComplex(string, ";", &shape->numvalues,MS_ALLOWEMPTYTOKENS);
msFree(string); /* clean up */
}
break;

0 comments on commit f404adf

Please sign in to comment.