projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd4afe7
)
replace CR and LF in RFID_SID
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 3 Oct 2016 13:45:12 +0000
(15:45 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 3 Oct 2016 13:45:12 +0000
(15:45 +0200)
lib/LDAP/Koha.pm
patch
|
blob
|
history
diff --git
a/lib/LDAP/Koha.pm
b/lib/LDAP/Koha.pm
index
7415278
..
0769ecb
100644
(file)
--- 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' => qq{replace(
a.attribute, '\r','')},
# was: rfid_sid
+ 'pager' => qq{replace(
replace(a.attribute, char(13),''),char(10),'')},
# was: rfid_sid
};
sub __sql_column {