aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-07-21 15:53:16 +0100
committerDave Arter <davea@mysociety.org>2016-07-21 15:53:16 +0100
commit17ebb70ee0e1d0452b824d3d8daee7405f5edf5c (patch)
tree8646bbcd87987fa7d49c7423e15580e084736a73 /perllib/FixMyStreet/App
parentb45b29c83fe2082820a22b659338f7ab328451ce (diff)
Fix crash on /my page due to missing pin.problem
Diffstat (limited to 'perllib/FixMyStreet/App')
-rw-r--r--perllib/FixMyStreet/App/Controller/My.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/My.pm b/perllib/FixMyStreet/App/Controller/My.pm
index 8eb7f079e..659d62c0b 100644
--- a/perllib/FixMyStreet/App/Controller/My.pm
+++ b/perllib/FixMyStreet/App/Controller/My.pm
@@ -58,6 +58,7 @@ sub my : Path : Args(0) {
colour => $c->cobrand->pin_colour( $problem, 'my' ),
id => $problem->id,
title => $problem->title,
+ problem => $problem,
};
push @$problems, $problem;
}