Bugzilla – Attachment 77337 Details for
Bug 21056
Changing the logged in library can fail sporadically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21056: Add another flush later
Bug-21056-Add-another-flush-later.patch (text/plain), 974 bytes, created by
Jonathan Druart
on 2018-07-31 15:16:24 UTC
(
hide
)
Description:
Bug 21056: Add another flush later
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-07-31 15:16:24 UTC
Size:
974 bytes
patch
obsolete
>From c2fa39f93971ae2af14b1e1ca32fa956644eaec8 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 31 Jul 2018 12:14:54 -0300 >Subject: [PATCH] Bug 21056: Add another flush later > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > 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.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21056
:
76800
|
77336
| 77337