diff options
Diffstat (limited to 'Bugzilla/Error/Base.pm')
-rw-r--r-- | Bugzilla/Error/Base.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Error/Base.pm b/Bugzilla/Error/Base.pm index ea44c272a..ed3bb2cd5 100644 --- a/Bugzilla/Error/Base.pm +++ b/Bugzilla/Error/Base.pm @@ -13,9 +13,9 @@ use Mojo::Base 'Mojo::Exception'; has 'vars' => sub { {} }; has 'template' => sub { - my $self = shift; - my $type = lc( (split(/::/, ref $self))[-1] ); - return "global/$type-error"; + my $self = shift; + my $type = lc((split(/::/, ref $self))[-1]); + return "global/$type-error"; }; 1; |