Bugzilla – Attachment 8730 Details for
Bug 7860
/virtualshelves/addbybiblionumber.pl plack scoping
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping
Bug-7860---virtualshelvesaddbybiblionumberpl-plack.patch (text/plain), 4.87 KB, created by
Dobrica Pavlinusic
on 2012-03-30 23:43:50 UTC
(
hide
)
Description:
Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2012-03-30 23:43:50 UTC
Size:
4.87 KB
patch
obsolete
>From a65fe7b87dc3f5d5743b21a53743aa6d8459aab3 Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Sat, 31 Mar 2012 01:30:26 +0200 >Subject: [PATCH] Bug 7860 - /virtualshelves/addbybiblionumber.pl plack scoping > >Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 115. >Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 129. >Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 134. >Variable "$newvirtualshelf" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 135. >Variable "$sortfield" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 136. >Variable "$category" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 137. >Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 137. >Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 139. >Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 140. >Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 143. >Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 145. >Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. >Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. >Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 150. >Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 151. >Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 153. >Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 157. >Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. >Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. >Variable "$shelfnumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 162. >Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 165. >Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 173. >Variable "$loggedinuser" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 178. >Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 180. >Variable "@biblionumber" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 188. >Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 196. >Variable "$template" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 204. >Variable "$newshelf" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 205. >Variable "$authorized" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 206. >Variable "$errcode" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 207. >Variable "$query" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 209. >Variable "$cookie" is not available at /srv/koha/virtualshelves/addbybiblionumber.pl line 209. >Can't call method "param" on an undefined value at /srv/koha/virtualshelves/addbybiblionumber.pl line 115. >--- > virtualshelves/addbybiblionumber.pl | 20 ++++++++++---------- > 1 files changed, 10 insertions(+), 10 deletions(-) > >diff --git a/virtualshelves/addbybiblionumber.pl b/virtualshelves/addbybiblionumber.pl >index 0927622..d039e42 100755 >--- a/virtualshelves/addbybiblionumber.pl >+++ b/virtualshelves/addbybiblionumber.pl >@@ -68,18 +68,18 @@ use C4::VirtualShelves qw/:DEFAULT GetAllShelves/; > use C4::Auth; > > >-my $query = new CGI; >-my @biblionumber = HandleBiblioPars(); >-my $shelfnumber = $query->param('shelfnumber'); >-my $newvirtualshelf = $query->param('newvirtualshelf'); >-my $newshelf = $query->param('newshelf'); >-my $category = $query->param('category'); >-my $sortfield = $query->param('sortfield'); >+our $query = new CGI; >+our @biblionumber = HandleBiblioPars(); >+our $shelfnumber = $query->param('shelfnumber'); >+our $newvirtualshelf = $query->param('newvirtualshelf'); >+our $newshelf = $query->param('newshelf'); >+our $category = $query->param('category'); >+our $sortfield = $query->param('sortfield'); > my $confirmed = $query->param('confirmed') || 0; >-my $authorized = 1; >-my $errcode = 0; >+our $authorized = 1; >+our $errcode = 0; > >-my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+our ( $template, $loggedinuser, $cookie ) = get_template_and_user( > { > template_name => "virtualshelves/addbybiblionumber.tmpl", > query => $query, >-- >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 7860
:
8730
|
8800