From 7d518276a9432fc210d9400de6695ebab8d9e5b4 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 9 Oct 2013 13:51:45 +0000 Subject: [PATCH] strip cr/lf from attribue --- lib/LDAP/Koha.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LDAP/Koha.pm b/lib/LDAP/Koha.pm index 4e32a02..5193fc3 100644 --- a/lib/LDAP/Koha.pm +++ b/lib/LDAP/Koha.pm @@ -46,7 +46,7 @@ my $ldap_sql_mapping = { 'objectGUID' => 'b.borrowernumber', 'displayName' => 'surname', 'sn' => 'surname', - 'pager' => 'a.attribute', # was: rfid_sid + 'pager' => qq{replace(a.attribute, '\r\n','')}, # was: rfid_sid }; sub __sql_column { -- 2.20.1