#!/usr/bin/perl
+# $Id$
# Copyright 2000-2002 Katipo Communications
#
# This file is part of Koha.
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# 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
+#
+
use strict;
require Exporter;
use CGI;
use HTML::Template;
use C4::Context;
use C4::Search;
-use C4::Auth;
use C4::Output;
use C4::Interface::CGI::Output;
}
$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");