From: Katrin Fischer Date: Fri, 21 Jun 2019 01:25:02 +0000 (+0000) Subject: Bug 23126: Remove more unnecessary linebreak processing from serial collection X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=2455286da42b73fa3efc29ac1a51ca81a0017a8e Bug 23126: Remove more unnecessary linebreak processing from serial collection This should have no visible effect on the templates as the information the grep changes is not used in the template. It's also strange, that these lines existed, as GetSubscriptionsFromBiblionumber contained the same changes. Signed-off-by: David Nind Signed-off-by: Arthur Bousquet Signed-off-by: Nadine Pierre Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- diff --git a/serials/serials-collection.pl b/serials/serials-collection.pl index 21e6463..d9ab11a 100755 --- a/serials/serials-collection.pl +++ b/serials/serials-collection.pl @@ -120,10 +120,6 @@ if (@subscriptionid){ next unless $subs; $closed = 1 if $subs->{closed}; - $subs->{opacnote} =~ s/\n/\/g; - $subs->{missinglist} =~ s/\n/\/g; - $subs->{recievedlist} =~ s/\n/\/g; - ##these are display information $subs->{'abouttoexpire'}=abouttoexpire($subs->{'subscriptionid'}); $subs->{'subscriptionexpired'}=HasSubscriptionExpired($subs->{'subscriptionid'});