@@ -, +, @@ --- C4/SIP/ILS/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/SIP/ILS/Patron.pm +++ a/C4/SIP/ILS/Patron.pm @@ -33,7 +33,7 @@ sub new { my $type = ref($class) || $class; my $self; $kp = Koha::Patrons->find( { cardnumber => $patron_id } ) - or Koha::Patrons->find( { userid => $patron_id } ); + || Koha::Patrons->find( { userid => $patron_id } ); $debug and warn "new Patron: " . Dumper($kp->unblessed) if $kp; unless ($kp) { syslog("LOG_DEBUG", "new ILS::Patron(%s): no such patron", $patron_id); --