From 5abcd3312adc02a14465a0781f735b8494d60f42 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 31 Jul 2018 12:14:54 -0300 Subject: [PATCH] Bug 21056: Add another flush later Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens --- circ/selectbranchprinter.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl index cff7f08013..0febd0ffb7 100755 --- a/circ/selectbranchprinter.pl +++ b/circ/selectbranchprinter.pl @@ -80,6 +80,7 @@ if ( $branch and my $library = Koha::Libraries->find($branch) ) { if ($printer) { if (! $userenv_printer or $userenv_printer ne $printer ) { $session->param('branchprinter', $printer); # update sesssion in DB + $session->flush(); $template->param('new_printer', $printer); # update template push @updated, { updated_printer => 1, -- 2.39.5