From: Moritz Bunkus Date: Wed, 7 Nov 2012 14:38:38 +0000 (+0100) Subject: Menu::menuitem_new: nur bei Trace-Level DEBUG2 ausgeben X-Git-Tag: release-3.0.0beta1~46 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=eb3549d7f634c404b635ef67b32696b355f66efb;p=kivitendo-erp.git Menu::menuitem_new: nur bei Trace-Level DEBUG2 ausgeben --- diff --git a/SL/Menu.pm b/SL/Menu.pm index 48ac6229d..57d8b4e8a 100644 --- a/SL/Menu.pm +++ b/SL/Menu.pm @@ -59,7 +59,7 @@ sub new { } sub menuitem_new { - $main::lxdebug->enter_sub(); + $main::lxdebug->enter_sub(LXDebug::DEBUG2()); my ($self, $name, $item) = @_; @@ -84,7 +84,7 @@ sub menuitem_new { $item->{href} .= "&" . $form->escape($key) . "=" . $form->escape($value); } - $main::lxdebug->leave_sub(); + $main::lxdebug->leave_sub(LXDebug::DEBUG2()); } sub access_control {