Permalink
Browse files

Merge branch 'yjacolin-master'

  • Loading branch information...
bbinet committed Mar 17, 2011
2 parents 99ea239 + b17d09e commit 43cb7298434fb606b15136801b79b03571a2f27e
Showing with 2 additions and 1 deletion.
  1. +2 −1 studio/lib/mapserializer.py
@@ -609,7 +609,8 @@ def update_layerobj_from_dict(layerobj,layer,mapobj):
if layer['dump']:
layerobj.dump = mapscript.MS_TRUE
- if 'filter' in layer and 'item' in layer['filter'] and 'item' in layer['filter']:
+ if 'filter' in layer and 'item' in layer['filter'] \
+ and 'value' in layer['filter']:
layerobj.filteritem = layer['filter']['item']
layerobj.setFilter(layer['filter']['value'])

0 comments on commit 43cb729

Please sign in to comment.