BUG FIX for Column borrowernumber in where clause is ambiguous
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 18 Feb 2010 16:24:58 +0000 (16:24 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 18 Feb 2010 16:24:58 +0000 (16:24 +0000)
lib/LDAP/Koha.pm

index 28d0868..b0c726c 100644 (file)
@@ -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