From: Bernd Blessmann Date: Tue, 1 Jun 2010 08:35:57 +0000 (+0200) Subject: falsche Debug-Meldungen korrigiert. X-Git-Tag: release-2.6.2beta1~339^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=97ca71803894a306320729483111d02fa5d61cec;p=kivitendo-erp.git falsche Debug-Meldungen korrigiert. leave_sub statt enter_sub. --- diff --git a/SL/Auth.pm b/SL/Auth.pm index 4b6f2fa20..72e36978f 100644 --- a/SL/Auth.pm +++ b/SL/Auth.pm @@ -829,7 +829,7 @@ sub evaluate_rights_ary { } } - $main::lxdebug->enter_sub(2); + $main::lxdebug->leave_sub(2); return $value; } @@ -863,7 +863,7 @@ sub _parse_rights_string { pop @stack; if (!@stack) { - $main::lxdebug->enter_sub(2); + $main::lxdebug->leave_sub(2); return 0; } @@ -879,7 +879,7 @@ sub _parse_rights_string { my $result = ($access || (1 < scalar @stack)) ? 0 : evaluate_rights_ary($stack[0]); - $main::lxdebug->enter_sub(2); + $main::lxdebug->leave_sub(2); return $result; }