From 58fd25c5bb4086d05ec3ce6b66951b3c11c73b82 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 24 Apr 2024 14:25:40 +0000 Subject: [PATCH] Bug 36575: (bug 34893 follow-up) Return patron when autocreating in Shibboleth MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel de Rooy (cherry picked from commit f6fe24bdd8f72cdf09111a93d0ca0a114b5ee570) Signed-off-by: Frédéric Demians --- C4/Auth_with_shibboleth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth_with_shibboleth.pm b/C4/Auth_with_shibboleth.pm index e356641c47..16f02951bd 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 } ); } } - return ( 1, $patron->cardnumber, $patron->userid ); + return ( 1, $patron->cardnumber, $patron->userid, $patron ); } sub _sync { -- 2.39.5