diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-03-25 14:35:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-03-25 14:35:26 +0000 |
commit | 22bb5e7406360c889a95d450d8f1d3c5c13c89f2 (patch) | |
tree | 9f89bfd94274074f4944606536bbe3d8f86a9f1c | |
parent | b03f30cc5a0a1b63c0e8824887aff836a67f6f27 (diff) |
Missing translated title, make sure overdue() call is before whensent is reset.
-rw-r--r-- | locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po | 4 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Zurich.pm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po b/locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po index 4528607f8..60f115da9 100644 --- a/locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po +++ b/locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: matthew@mysociety.org\n" "POT-Creation-Date: 2013-03-11 18:53+0000\n" -"PO-Revision-Date: 2013-03-07 17:00+0100\n" +"PO-Revision-Date: 2013-03-25 12:27+0100\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <team@fixmystreet.com>\n" "Language: \n" @@ -3076,7 +3076,7 @@ msgstr "" #: templates/web/seesomething/auth/sign_out.html:1 #: templates/web/zurich/auth/sign_out.html:1 msgid "Sign out" -msgstr "" +msgstr "Ausloggen" #: templates/web/default/header.html:29 #: templates/web/emptyhomes/header.html:45 diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm index ef611acdd..5c873ceb5 100644 --- a/perllib/FixMyStreet/Cobrand/Zurich.pm +++ b/perllib/FixMyStreet/Cobrand/Zurich.pm @@ -486,11 +486,11 @@ sub admin_report_edit { # If they clicked the no more updates button, we're done. if ($c->req->param('no_more_updates')) { - $problem->bodies_str( $body->parent->id ); - $problem->whensent( undef ); my $extra = $problem->extra || {}; $extra->{subdiv_overdue} = $self->overdue( $problem ); $problem->extra( { %$extra } ); + $problem->bodies_str( $body->parent->id ); + $problem->whensent( undef ); $problem->state( 'planned' ); $problem->update; $c->res->redirect( '/admin/summary' ); |