Bugzilla – Attachment 10270 Details for
Bug 8180
cataloguing/additem.pl plack scoping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 8180 - cataloguing/additem.pl plack scoping
0001-Bug-8180-cataloguing-additem.pl-plack-scoping.patch (text/plain), 1014 bytes, created by
Julian Maurice
on 2012-06-14 08:09:22 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8180 - cataloguing/additem.pl plack scoping
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-06-14 08:09:22 UTC
Size:
1014 bytes
patch
obsolete
>From 126de7d0db1ce3a5f3378a92003c8e1de03e346a Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Fri, 1 Jun 2012 16:19:38 +0200 >Subject: [PATCH] Bug 8180 - cataloguing/additem.pl plack scoping > >$dbh needs our scoping when using "Add item" to prevent error >Can't call method "prepare" on an undefined value at /srv/koha/cataloguing/additem.pl line 88. > >Test scenario: > >1. start intranet with plack >2. select one Edit items on one record >3. fill in new item and click on "Add item" > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > cataloguing/additem.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 91b4c99..8543297 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -37,7 +37,7 @@ use C4::Search; > use MARC::File::XML; > use URI::Escape; > >-my $dbh = C4::Context->dbh; >+our $dbh = C4::Context->dbh; > > sub find_value { > my ($tagfield,$insubfield,$record) = @_; >-- >1.7.10 >
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 8180
:
9884
| 10270