From: Jan Büren Date: Wed, 23 Jun 2021 11:19:47 +0000 (+0200) Subject: Revert "SL/X/Base Workaround für stringify eq" X-Git-Tag: kivitendo-mebil_0.1-0~9^2~156 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=fe4deda7559426c11817724750ded3306a0baafe;p=kivitendo-erp.git Revert "SL/X/Base Workaround für stringify eq" This reverts commit 1f7b26048829f9a9622b06e2c106ae2a4f18442e. --- 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');