aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-09-06 11:08:37 +0100
committerDave Arter <davea@mysociety.org>2016-09-06 11:08:37 +0100
commitd3ce66d0add6754dd54624f1d35efc922054ce9b (patch)
tree245f420a72c27583f43c6a2173629b2acc52d811
parentbe222799290cff46503a085cc28183695f4cbb3d (diff)
[Zurich] Call add_links filter correctly
Fixes a bug with updates not being displayed correctly in the app.
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index cc40cde29..b8e2db9d4 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -215,8 +215,8 @@ sub updates_as_hashref {
$hashref->{update_pp} = $self->prettify_dt( $problem->lastupdate );
if ( $problem->state eq 'fixed - council' ) {
- $hashref->{details} = FixMyStreet::App::View::Web->add_links(
- $ctx, $problem->get_extra_metadata('public_response') || '' );
+ $hashref->{details} = FixMyStreet::App::View::Web::add_links(
+ $problem->get_extra_metadata('public_response') || '' );
} elsif ( $problem->state eq 'closed' ) {
$hashref->{details} = sprintf( _('Assigned to %s'), $problem->body($ctx)->name );
}