From 5311a8ecb204186a06a46f89e989f48939e623bb Mon Sep 17 00:00:00 2001 From: Sophie Meynieux Date: Wed, 21 May 2014 11:39:52 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 12300 : Revert Bug 10727: Cancel replacing carriage return with
when printing hold notices" Signed-off-by: Bernardo Gonzalez Kriegel No errors. Exact reversion of 10727. Just thinking, again you will get all text in one line [1] [1] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10727#c0 --- misc/cronjobs/gather_print_notices.pl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/misc/cronjobs/gather_print_notices.pl b/misc/cronjobs/gather_print_notices.pl index 248716e..4e54447 100755 --- a/misc/cronjobs/gather_print_notices.pl +++ b/misc/cronjobs/gather_print_notices.pl @@ -69,14 +69,6 @@ my $today = C4::Dates->new(); my @all_messages = @{ GetPrintMessages() }; exit unless (@all_messages); -## carriage return replaced by
as output is html -foreach my $message (@all_messages) { - local $_ = $message->{'content'}; - s/\n/
/g; - s/\r//g; - $message->{'content'} = $_; -} - my $OUTPUT; if ($split) { -- 1.7.9.5