changed back to C4::Database from C4::Context
This commit is contained in:
parent
06b37cfeea
commit
75723fabb9
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue