diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-06-07 12:41:53 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-06-07 12:41:59 +0100 |
commit | f37d288d3a855bc6dcb282f0669d4b36cea20952 (patch) | |
tree | d0f0704f802ad00639149b0603506a113396cbd4 /perllib/FixMyStreet/App/Controller/Dashboard.pm | |
parent | 6a975f1627d259723f868691cca27e539a5166f9 (diff) |
Fix issue displaying anonymous account email.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Dashboard.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Dashboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Dashboard.pm b/perllib/FixMyStreet/App/Controller/Dashboard.pm index ffd8d76c1..790e7ec29 100644 --- a/perllib/FixMyStreet/App/Controller/Dashboard.pm +++ b/perllib/FixMyStreet/App/Controller/Dashboard.pm @@ -368,7 +368,7 @@ sub generate_csv : Private { my $hashref = $report->as_hashref($c, \%asked_for); $hashref->{user_name_display} = $report->anonymous - ? '(anonymous)' : $report->user->name; + ? '(anonymous)' : $report->name; if ($asked_for{acknowledged}) { for my $comment ($report->comments) { |