Skip to content

Commit

Permalink
Fixing bug in WMS13 GetLegendGraphic handler when queried with a coll…
Browse files Browse the repository at this point in the history
…ection layer.
  • Loading branch information
constantinius committed Feb 17, 2015
1 parent a43c388 commit 40eadae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eoxserver/services/ows/wms/v13/getlegendgraphic.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def recursive_lookup(collection, used_ids, suffix):
coverages = ((eo_object.cast(), suffix),)

layer_selection = LayerSelection(
collection.identifier if collection else None
collection if collection else None
)
layer_selection.extend(coverages)

Expand Down

0 comments on commit 40eadae

Please sign in to comment.