From: Sven Schöling Date: Fri, 25 Feb 2011 11:48:27 +0000 (+0100) Subject: Flash error: Carp muss sich importieren bevor carp funktioniert. X-Git-Tag: release-2.7.0beta2~5^2~10 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3a45f0c9adf87cbb571e7099a02bd90a425be65e;p=kivitendo-erp.git Flash error: Carp muss sich importieren bevor carp funktioniert. --- diff --git a/SL/Helper/Flash.pm b/SL/Helper/Flash.pm index 2bbff75b1..1ed6562b2 100644 --- a/SL/Helper/Flash.pm +++ b/SL/Helper/Flash.pm @@ -48,6 +48,7 @@ sub _check_category { return $valid_categories{$c} || do { require Carp; + Carp->import; croak("invalid category '$c' for flash"); }; }