From: Sven Schöling Date: Fri, 7 Sep 2012 13:46:16 +0000 (+0200) Subject: Warnung beim Testen unterdrücken X-Git-Tag: release-3.0.0beta1~245^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=da8bd00baa120bea3fca65ec8d151cd40b9ef1b4;p=kivitendo-erp.git Warnung beim Testen unterdrücken --- diff --git a/SL/LXDebug.pm b/SL/LXDebug.pm index 2f80caccd..856dfa06a 100644 --- a/SL/LXDebug.pm +++ b/SL/LXDebug.pm @@ -119,7 +119,7 @@ sub leave_sub { my ($dummy1, $self_filename, $self_line) = caller(0); my $indent = " " x --$self->{"calldepth"}; - my $time = $self->want_request_timer ? $self->get_request_time : ''; + my $time = $self->want_request_timer ? $self->get_request_time || '' : ''; if (!defined($package)) { $self->_write('sub' . $level, $indent . "/ $time top-level?\n");