diff options
author | Dave Arter <davea@mysociety.org> | 2016-07-11 17:39:47 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-07-11 17:39:47 +0100 |
commit | 4f078398fd7d57357366e284784cf64efc625aa4 (patch) | |
tree | e5a02126ad8fad942d5589efa1dc942a4c541271 | |
parent | 01105c917f8f43bae9949de499a4a0268f5d2a0c (diff) |
Add missing 'pin.problem' attribute
Missed this from 8a8b34, and it was causing a crash on certain /reports/ pages
when trying to display the list of problems.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 5bcbb3dc4..eec180ba1 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -491,6 +491,7 @@ sub add_row { colour => $c->cobrand->pin_colour( $problem, 'reports' ), id => $problem->id, title => $problem->title_safe, + problem => $problem, }; } |