# HG changeset patch # User Paul Boddie # Date 1332973184 -7200 # Node ID 58143b9c4b22f8a9175335d19dfe8a5a77c50217 # Parent 2993b322f87cd3fe37008b1c26bc4bb289727dac Fixed the action where a new/unknown location has been specified. diff -r 2993b322f87c -r 58143b9c4b22 actions/EventAggregatorNewEvent.py --- a/actions/EventAggregatorNewEvent.py Mon Mar 26 19:06:52 2012 +0200 +++ b/actions/EventAggregatorNewEvent.py Thu Mar 29 00:19:44 2012 +0200 @@ -637,7 +637,7 @@ category_pagenames = form.get("category", []) description = form.get("description", [None])[0] - location = form.get("location", [None])[0] + location = (form.get("location") or form.get("new-location") or [""])[0] latitude = form.get("latitude", [None])[0] longitude = form.get("longitude", [None])[0] link = form.get("link", [None])[0]