[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha detail.pl,1.15,1.16
From: |
Andrew Arensburger |
Subject: |
[Koha-cvs] CVS: koha detail.pl,1.15,1.16 |
Date: |
Wed, 16 Oct 2002 05:37:14 -0700 |
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv14467a
Modified Files:
detail.pl
Log Message:
(bug fix): This was always displaying the OPAC results page. Fixed by
replacing an assignment with a string comparison.
Index: detail.pl
===================================================================
RCS file: /cvsroot/koha/koha/detail.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** detail.pl 9 Oct 2002 18:09:16 -0000 1.15
--- detail.pl 16 Oct 2002 12:37:12 -0000 1.16
***************
*** 34,38 ****
my $biblionumber=$query->param('bib');
! my $type='intra';
--- 34,38 ----
my $biblionumber=$query->param('bib');
! my $type='intra'; # FIXME - There's already a $type in this scope
***************
*** 72,76 ****
my $template;
! if ($type='opac') {
$template = gettemplate("catalogue/detail-opac.tmpl");
} else {
--- 72,76 ----
my $template;
! if ($type eq 'opac') {
$template = gettemplate("catalogue/detail-opac.tmpl");
} else {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha detail.pl,1.15,1.16,
Andrew Arensburger <=