projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2272306
)
Revert "SL/X/Base Workaround für stringify eq"
author
Jan Büren
<jan@kivitendo.de>
Wed, 23 Jun 2021 11:19:47 +0000
(13:19 +0200)
committer
Jan Büren
<jan@kivitendo.de>
Wed, 23 Jun 2021 11:19:47 +0000
(13:19 +0200)
This reverts commit
1f7b26048829f9a9622b06e2c106ae2a4f18442e
.
SL/X/Base.pm
patch
|
blob
|
history
diff --git
a/SL/X/Base.pm
b/SL/X/Base.pm
index
5b77bc8
..
3e6d251
100644
(file)
--- 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');