diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-06 10:13:55 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-06 10:13:55 +0100 |
commit | 29c1e2780bca1a348d5d6a9531c967b84110f7be (patch) | |
tree | 56d5f7d80e276d608265a267ad82af142ddf0c19 | |
parent | 819a95ae17f59f1732379926f9738caeb9ff046b (diff) |
confirm does not return alert object so do not assign to alert
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm index a1120470b..8de909738 100644 --- a/perllib/FixMyStreet/App/Controller/Report/Update.pm +++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm @@ -323,7 +323,9 @@ sub signup_for_alerts : Private { cobrand => $update->cobrand, cobrand_data => $update->cobrand_data, lang => $update->lang, - )->confirm(); + ); + + $alert->confirm(); $alert->update; } |