From: Sven Schöling Date: Fri, 13 May 2011 11:09:01 +0000 (+0200) Subject: Eine Warnung unterdrücken. X-Git-Tag: release-2.6.3~25^2~37^2~8 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=20a76c43821e96a4ee9b6d43e976241974fefb11;p=kivitendo-erp.git Eine Warnung unterdrücken. --- diff --git a/SL/Template/Plugin/HTMLFixes.pm b/SL/Template/Plugin/HTMLFixes.pm index 3f328a842..32d3c5683 100644 --- a/SL/Template/Plugin/HTMLFixes.pm +++ b/SL/Template/Plugin/HTMLFixes.pm @@ -17,7 +17,7 @@ use Encode; # creating invalid UTF-8 characters upon URL-unescaping. # The only addition is the "Encode::encode()" line. - +no warnings 'redefine'; sub url { my ($self, $text) = @_; return undef unless defined $text;