From 76159a83885bbc6abfb9ea3d9f9c80620cbc80e8 Mon Sep 17 00:00:00 2001 From: oleonard Date: Thu, 13 Apr 2006 18:32:32 +0000 Subject: [PATCH] Correcting check MARC=ON system preference (should look for MARC = 1) --- detail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detail.pl b/detail.pl index 2a1d25be92..532a3d3dac 100755 --- a/detail.pl +++ b/detail.pl @@ -54,7 +54,7 @@ my @results = ($dat,); 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; -- 2.39.5