(bug fix): This was always displaying the OPAC results page. Fixed by
replacing an assignment with a string comparison.
This commit is contained in:
parent
add7710b2d
commit
d8cd705243
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ my $type=$query->param('type');
|
|||
my ($loggedinuser, $cookie, $sessionID) = checkauth($query, ($type eq 'opac') ? (1) : (0));
|
||||
|
||||
my $biblionumber=$query->param('bib');
|
||||
my $type='intra';
|
||||
my $type='intra'; # FIXME - There's already a $type in this scope
|
||||
|
||||
|
||||
# change back when ive fixed request.pl
|
||||
|
@ -71,7 +71,7 @@ my $startfrom=$query->param('startfrom');
|
|||
($startfrom) || ($startfrom=0);
|
||||
|
||||
my $template;
|
||||
if ($type='opac') {
|
||||
if ($type eq 'opac') {
|
||||
$template = gettemplate("catalogue/detail-opac.tmpl");
|
||||
} else {
|
||||
$template=gettemplate("catalogue/detail.tmpl");
|
||||
|
|
Loading…
Reference in a new issue