Bugzilla – Attachment 11494 Details for
Bug 8524
Add barcode plugin that does not autofill
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8524: Followup FIX an undeclared variable $query
Bug-8524-Followup-FIX-an-undeclared-variable-query.patch (text/plain), 1021 bytes, created by
Kyle M Hall (khall)
on 2012-08-09 13:06:08 UTC
(
hide
)
Description:
Bug 8524: Followup FIX an undeclared variable $query
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2012-08-09 13:06:08 UTC
Size:
1021 bytes
patch
obsolete
>From e14e2dfba1d31ad2b80588081cea454e744c7469 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 9 Aug 2012 14:07:35 +0200 >Subject: [PATCH] Bug 8524: Followup FIX an undeclared variable $query > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > cataloguing/value_builder/barcode.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/cataloguing/value_builder/barcode.pl b/cataloguing/value_builder/barcode.pl >index ac10289..5aeae9f 100755 >--- a/cataloguing/value_builder/barcode.pl >+++ b/cataloguing/value_builder/barcode.pl >@@ -90,7 +90,7 @@ sub plugin_javascript { > } > elsif ($autoBarcodeType eq 'EAN13') { > # not the best, two catalogers could add the same barcode easily this way :/ >- $query = "select max(abs(barcode)) from items"; >+ my $query = "select max(abs(barcode)) from items"; > my $sth = $dbh->prepare($query); > $sth->execute(); > while (my ($last)= $sth->fetchrow_array) { >-- >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 8524
:
11271
|
11343
|
11481
|
11484
|
11485
|
11491
|
11492
|
11493
| 11494 |
11495