diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm index 38b93bce71..f9ba592b3e 100644 --- a/C4/Auth_with_shibboleth.pm +++ b/C4/Auth_with_shibboleth.pm @@ -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 {