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. Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
a3f1b8cb5e
commit
10e89e616a
1 changed files with 10 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue