[Koha-cvs] CVS: koha detail.pl,1.15,1.16
Andrew Arensburger
arensb at users.sourceforge.net
Wed Oct 16 14:37:14 CEST 2002
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 {
More information about the Koha-cvs
mailing list