changed back to C4::Database from C4::Context

This commit is contained in:
finlayt 2002-11-27 10:54:57 +00:00
parent 06b37cfeea
commit 75723fabb9
1 changed files with 2 additions and 2 deletions

View File

@ -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) {