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:
50f1c0c
)
LXDebug::clone_for_dump: Warnung wegen Hash-Zugriff mit Key undef vermeiden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Jan 2020 15:08:33 +0000
(16:08 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Jan 2020 15:34:31 +0000
(16:34 +0100)
SL/LXDebug.pm
patch
|
blob
|
history
diff --git
a/SL/LXDebug.pm
b/SL/LXDebug.pm
index
6b27b0a
..
0503dcb
100644
(file)
--- a/
SL/LXDebug.pm
+++ b/
SL/LXDebug.pm
@@
-161,6
+161,7
@@
sub clone_for_dump {
my ($src, $dumped) = @_;
return undef if !defined($src);
+ return $src if !ref($src);
$dumped ||= {};
my $addr = refaddr($src);