>From 6610cbcfe07046bcd6d873a8f19bf8130d3dc182 Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fisc...@bsz-bw.de>
Date: Sat, 24 Jul 2010 10:37:32 +0200
Subject: [PATCH] Bug 4904: Problem with printing fines in overdue
notices
Content-Type: text/plain; charset="utf-8"

my $formatted_fine = currency_format("$1", "$fine", FMT_SYMBOL);
is already utf-8.
---
 misc/cronjobs/overdue_notices.pl |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/misc/cronjobs/overdue_notices.pl
b/misc/cronjobs/overdue_notices.pl
index 4de6cdd..92e8327 100755
--- a/misc/cronjobs/overdue_notices.pl
+++ b/misc/cronjobs/overdue_notices.pl
@@ -665,7 +665,6 @@ sub parse_letter { # FIXME: this code should
probably be moved to C4::Letters:pa
                 no strict; # currency_format behaves badly if we quote
the bareword for some reason...
                 my $formatted_fine = currency_format("$1", "$fine",
FMT_SYMBOL);
                 use strict;
-                $formatted_fine = Encode::encode("utf8",
$formatted_fine);
                 $params->{'letter'}->{'content'} =~
s/<fine>.*<\/fine>/$formatted_fine/;
             }
             $params->{'letter'} = C4::Letters::parseletter(
$params->{'letter'}, 'biblio',      $item );
-- 
1.6.3.3

Attachment: 0001-4904-Problem-with-printing-fines-in-overdue-notices.patch
Description: 0001-4904-Problem-with-printing-fines-in-overdue-notices.patch

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches

Reply via email to