Bug 8197 : Software error when you have cleaned cookies and try to past the url to opac-topissues.pl
Try to delete cookies and paste the url to opac-topissues.pl.
Without the patch we have a Software error.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit fa00315b2b)
This commit is contained in:
parent
ffb1f1ec6d
commit
5a6fba297d
|
|
@ -129,7 +129,7 @@ $template->param(do_it => 1,
|
|||
results_loop => \@results,
|
||||
);
|
||||
|
||||
$template->param( branchloop => GetBranchesLoop(C4::Context->userenv->{'branch'}));
|
||||
$template->param( branchloop => GetBranchesLoop(C4::Context->userenv?C4::Context->userenv->{'branch'}:''));
|
||||
|
||||
# the index parameter is different for item-level itemtypes
|
||||
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
|
||||
|
|
|
|||
Loading…
Reference in New Issue