From fe4deda7559426c11817724750ded3306a0baafe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 23 Jun 2021 13:19:47 +0200 Subject: [PATCH] =?utf8?q?Revert=20"SL/X/Base=20Workaround=20f=C3=BCr=20st?= =?utf8?q?ringify=20eq"?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit 1f7b26048829f9a9622b06e2c106ae2a4f18442e. --- SL/X/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/X/Base.pm b/SL/X/Base.pm index 5b77bc8eb..3e6d25123 100644 --- a/SL/X/Base.pm +++ b/SL/X/Base.pm @@ -12,7 +12,7 @@ sub message { goto &error } sub error { my ($self, @params) = @_; - return $self->{message} unless ($self->{message} // '') eq ''; + return $self->{message} if ($self->{message} // '') ne ''; return $self->SUPER::error(@params) if !$self->can('_defaults'); -- 2.20.1