diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-04-24 18:37:17 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-05-07 15:30:12 +0100 |
commit | 30fda70c8a54b912b9bf859b1401e3e3284f558c (patch) | |
tree | 4bd66e72cef9f68e2055d4493094cf524da9e858 | |
parent | 92b253904062edd533e55c22824de6fd01e2f7c1 (diff) |
Fix typo in is_superuser call.
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 49bdce379..8109fda2e 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -659,7 +659,7 @@ sub check_non_public_reports_permission : Private { if ( $c->user_exists ) { my $user_has_permission; - if ( $c->user->is_super_user ) { + if ( $c->user->is_superuser ) { $user_has_permission = 1; } else { my $body = $c->stash->{body}; |