From 6f9d44677c53cf3f4ae2aa1ada0ca313eb929a1b Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 23 Sep 2016 16:52:41 -0400 Subject: [PATCH] Titles in SIP information were corrupted It looks like we're already getting the titles back in decoded UTF8 form now, so we don't need to monkey with them via clean_text(). Patron information, on the other hand, doesn't get corrupted when we call clean_text(), so they probably are not already in decoded UTF8 form. More to investigate but wanted to note this in code for now. Signed-off-by: Dan Scott --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm index 2a9882517a..9f5aabd452 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Item.pm @@ -270,7 +270,7 @@ sub sip_media_type { sub title_id { my $self = shift; my $t = ($self->{mods}) ? $self->{mods}->title : $self->{copy}->dummy_title; - return OpenILS::SIP::clean_text($t); + return $t; } sub permanent_location { -- 2.11.0