From: Dobrica Pavlinusic Date: Thu, 18 Feb 2010 16:24:58 +0000 (+0000) Subject: BUG FIX for Column borrowernumber in where clause is ambiguous X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=commitdiff_plain;h=2976b06f151c8fceb0fe00c1046a287f72998fd9;hp=571831397e4527af51bcd971cbdf1e17f9807cb8 BUG FIX for Column borrowernumber in where clause is ambiguous --- diff --git a/lib/LDAP/Koha.pm b/lib/LDAP/Koha.pm index 28d0868..b0c726c 100644 --- a/lib/LDAP/Koha.pm +++ b/lib/LDAP/Koha.pm @@ -45,7 +45,7 @@ my $dbh = DBI->connect($dsn . $database, $user,$passwd, { RaiseError => 1, AutoC my $ldap_sql_mapping = { 'uid' => 'userid', - 'objectGUID' => 'borrowernumber', + 'objectGUID' => 'b.borrowernumber', 'displayName' => 'surname', 'sn' => 'surname', 'pager' => 'a.attribute', # was: rfid_sid