Bug 36575: (bug 34893 follow-up) Return patron when autocreating in Shibboleth

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2024-04-24 14:25:40 +00:00 committed by Lucas Gass
parent 71607ae085
commit 735a48c36b
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ sub _autocreate {
C4::Letters::SendQueuedMessages( { message_id => $message_id } ) if $message_id;
}
}
return ( 1, $patron->cardnumber, $patron->userid );
return ( 1, $patron->cardnumber, $patron->userid, $patron );
}
sub _sync {