Funktion 'is_sales' in SL::DB::{Invoice,PurchaseInvoice}
[kivitendo-erp.git] / SL / Template / Plugin / HTMLFixes.pm
index 3f328a8..5c62078 100644 (file)
@@ -12,12 +12,12 @@ use Encode;
 
 # Replacement for Template::Plugin::HTML::url.
 
-# Strings in Lx-Office are stored in Perl's internal encoding but have
+# Strings in kivitendo are stored in Perl's internal encoding but have
 # to be output as UTF-8. A normal regex replace doesn't do that
 # 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;