[Koha-cvs] koha detail.pl [rel_2_2]

Owen Leonard oleonard at athenscounty.lib.oh.us
Thu Apr 13 20:32:32 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Owen Leonard <oleonard at savannah.gnu.org>	06/04/13 18:32:32

Modified files:
	.              : detail.pl 

Log message:
	Correcting check MARC=ON system preference (should look for MARC = 1)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/detail.pl.diff?only_with_tag=rel_2_2&tr1=1.24.2.8&tr2=1.24.2.9&r1=text&r2=text

Patches:
Index: koha/detail.pl
diff -u koha/detail.pl:1.24.2.8 koha/detail.pl:1.24.2.9
--- koha/detail.pl:1.24.2.8	Thu Apr 13 17:25:00 2006
+++ koha/detail.pl	Thu Apr 13 18:32:32 2006
@@ -54,7 +54,7 @@
 my $dbh = C4::Context->dbh;
 my $bibid = &MARCfind_MARCbibid_from_oldbiblionumber($dbh,$biblionumber);
 $template->param(bibid => $bibid);
-if (C4::Context->preference("marc") eq "yes") {
+if (C4::Context->preference("marc")) {
 	my $marcflavour = C4::Context->preference("marcflavour");
 	my $marcnotesarray = &getMARCnotes($dbh,$bibid,$marcflavour);
 	$results[0]->{MARCNOTES} = $marcnotesarray;





More information about the Koha-cvs mailing list