From 8914f906b4d5991e4c2814b4f1219d6abdd74fa2 Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 15 Feb 2024 22:49:19 +0000 Subject: [PATCH] Bug 36098: Fix storage_method pass Signed-off-by: Jonathan Druart (cherry picked from commit 5572567143c10b424765149bd97c2aa99d577132) Signed-off-by: Fridolin Somers (cherry picked from commit 941f34626a0720afd2c00bb4990b9eac7bc9eda8) Signed-off-by: Lucas Gass --- Koha/Session.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Koha/Session.pm b/Koha/Session.pm index 54290d3df3..d9e9f79dd6 100644 --- a/Koha/Session.pm +++ b/Koha/Session.pm @@ -51,7 +51,8 @@ will be created. =cut sub _get_session_params { - my ( $class, $storage_method ) = @_; + my ( $class, $args ) = @_; + my $storage_method = $args->{storage_method}; $storage_method ||= C4::Context->preference('SessionStorage'); if ( $storage_method eq 'mysql' ) { my $dbh = C4::Context->dbh; -- 2.39.5