From d8844776511062e52ac3e67eb2e645b562274b5c Mon Sep 17 00:00:00 2001 From: tonnesen Date: Wed, 11 Jun 2003 18:37:55 +0000 Subject: [PATCH] Using boolean_preference instead of preference for 'marc' setting --- search.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/search.pl b/search.pl index 33ac0b5e60..75de430ce4 100755 --- a/search.pl +++ b/search.pl @@ -19,6 +19,9 @@ # Suite 330, Boston, MA 02111-1307 USA # $Log$ +# Revision 1.32 2003/06/11 18:37:55 tonnesen +# Using boolean_preference instead of preference for 'marc' setting +# # Revision 1.31 2003/05/11 07:31:37 rangi # Removing duplicate use C4::Auth # @@ -197,7 +200,7 @@ if ($count>10) { } $template->param(numbers => \@numbers); -if (C4::Context->preference('marc') eq 'on') { +if (C4::Context->boolean_preference('marc') eq '1') { $template->param(script => "MARCdetail.pl"); } else { $template->param(script => "detail.pl"); -- 2.39.5