diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-03 22:18:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-03 22:18:05 +0100 |
commit | b019beb393534919c249fa16e7ab07ac63fa52c5 (patch) | |
tree | d2dd1a1a97246c7bce6814f84ec09cd341301b6e /perllib/FixMyStreet/App/Controller/Alert.pm | |
parent | 5d2261eb81e9e28bbaa1f52c668be164bb7a597d (diff) |
Fix bug whereby lat/lon were being stored the wrong way round in local alerts.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index 70a86a936..d8e783431 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -257,7 +257,7 @@ sub set_local_alert_options : Private { m{ \A local: ( [\+\-]? \d+ \.? \d* ) : ( [\+\-]? \d+ \.? \d* ) }xms ) { $type = 'local_problems'; - push @params, $1, $2; + push @params, $2, $1; # Note alert parameters are lon,lat } my $options = { |