EventAggregator

Change of actions/EventAggregatorNewEvent.py

304:58143b9c4b22
actions/EventAggregatorNewEvent.py
     1.1 --- a/actions/EventAggregatorNewEvent.py	Mon Mar 26 19:06:52 2012 +0200
     1.2 +++ b/actions/EventAggregatorNewEvent.py	Thu Mar 29 00:19:44 2012 +0200
     1.3 @@ -637,7 +637,7 @@
     1.4  
     1.5          category_pagenames = form.get("category", [])
     1.6          description = form.get("description", [None])[0]
     1.7 -        location = form.get("location", [None])[0]
     1.8 +        location = (form.get("location") or form.get("new-location") or [""])[0]
     1.9          latitude = form.get("latitude", [None])[0]
    1.10          longitude = form.get("longitude", [None])[0]
    1.11          link = form.get("link", [None])[0]