replace only CR
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 29 Aug 2015 12:47:53 +0000 (14:47 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 29 Aug 2015 12:47:53 +0000 (14:47 +0200)
lib/LDAP/Koha.pm

index 5193fc3..563c968 100644 (file)
@@ -46,7 +46,7 @@ my $ldap_sql_mapping = {
        'objectGUID'    => 'b.borrowernumber',
        'displayName'   => 'surname',
        'sn'            => 'surname',
-       'pager'         => qq{replace(a.attribute, '\r\n','')}, # was: rfid_sid
+       'pager'         => qq{replace(a.attribute, '\r','')},   # was: rfid_sid
 };
 
 sub __sql_column {