diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-23 12:26:18 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-23 12:28:28 +0100 |
commit | 98e23f576f1114d42f4b847e8bb57d090b19d633 (patch) | |
tree | 4ca4db476254fb7f9393ec2d54dc6648cf7c53b5 /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | 2aa5ffad509f927ba83ab872e2cf0dd9575690b2 (diff) |
Default to show name.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 6c14f33fb..b50325052 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -124,8 +124,8 @@ sub format_problem_for_display : Private { if ( $c->user ) { $c->stash->{form_name} = $c->user->name; $c->stash->{email} = $c->user->email; - $c->stash->{may_show_name} = ' checked' if $c->user->name; } + $c->stash->{may_show_name} = ' checked'; $c->stash->{add_alert_checked} = ' checked'; } |