Bugzilla – Attachment 9877 Details for
Bug 8178
circ/circulation.pl under plack duplicates checkout rows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8178 - circ/circulation.pl under plack duplicates checkout rows
Bug-8178---circcirculationpl-under-plack-duplicate.patch (text/plain), 1.21 KB, created by
Dobrica Pavlinusic
on 2012-06-01 13:27:18 UTC
(
hide
)
Description:
Bug 8178 - circ/circulation.pl under plack duplicates checkout rows
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-06-01 13:27:18 UTC
Size:
1.21 KB
patch
obsolete
>From 640714b7015e1f40f8e36b05e8f3ded320a9aace Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Fri, 1 Jun 2012 15:22:30 +0200 >Subject: [PATCH] Bug 8178 - circ/circulation.pl under plack duplicates checkout rows > >Bug 7851 introduced our scoping for vairables, unfortunatly it has >side-effect that checkout rows accumulate on page reloads instead >of being initialized to empty array (which this patch fixes) > >Test scenario: >1. start intranet under plack >2. open /cgi-bin/koha/circ/circulation.pl and reload page few time > confirming that rows gets duplicated >3. apply patch and reload page to verify that it works >--- > circ/circulation.pl | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index c89abff..fdad5f2 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -417,10 +417,10 @@ if ($borrowernumber) { > # make the issued books table. > my $todaysissues = ''; > my $previssues = ''; >-our @todaysissues; >-our @previousissues; >-our @relissues; >-our @relprevissues; >+our @todaysissues = (); >+our @previousissues = (); >+our @relissues = (); >+our @relprevissues = (); > my $displayrelissues; > > our $totalprice = 0; >-- >1.7.2.5
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 8178
:
9877
|
9885
|
10038