Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'yjacolin-master'

  • Loading branch information...
commit 43cb7298434fb606b15136801b79b03571a2f27e 2 parents 99ea239 + b17d09e
Bruno Binet bbinet authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  studio/lib/mapserializer.py
3  studio/lib/mapserializer.py
@@ -609,7 +609,8 @@ def update_layerobj_from_dict(layerobj,layer,mapobj):
609 609 if layer['dump']:
610 610 layerobj.dump = mapscript.MS_TRUE
611 611
612   - if 'filter' in layer and 'item' in layer['filter'] and 'item' in layer['filter']:
  612 + if 'filter' in layer and 'item' in layer['filter'] \
  613 + and 'value' in layer['filter']:
613 614 layerobj.filteritem = layer['filter']['item']
614 615 layerobj.setFilter(layer['filter']['value'])
615 616

0 comments on commit 43cb729

Please sign in to comment.
Something went wrong with that request. Please try again.