From 75723fabb93bb931ada899d7b9a4cd3f273b58a6 Mon Sep 17 00:00:00 2001 From: finlayt Date: Wed, 27 Nov 2002 10:54:57 +0000 Subject: [PATCH] changed back to C4::Database from C4::Context --- opac/opac-search.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index c7b67ba7e3..43a5141f93 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -4,11 +4,11 @@ require Exporter; use C4::Auth; use CGI; -use C4::Context; +use C4::Database; my $classlist=''; -my $dbh=C4::Context->dbh(); +my $dbh=C4Connect; my $sth=$dbh->prepare("select groupname,itemtypes from itemtypesearchgroups order by groupname"); $sth->execute; while (my ($groupname,$itemtypes) = $sth->fetchrow) {