[Koha-cvs] CVS: koha/opac opac-search.pl,1.1.2.7,1.1.2.8

Finlay Thompson finlayt at users.sourceforge.net
Wed Nov 27 11:54:59 CET 2002


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1:/tmp/cvs-serv26352/opac

Modified Files:
      Tag: rel-1-2
	opac-search.pl 
Log Message:

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


Index: opac-search.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-search.pl,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -r1.1.2.7 -r1.1.2.8
*** opac-search.pl	14 Nov 2002 22:14:52 -0000	1.1.2.7
--- opac-search.pl	27 Nov 2002 10:54:57 -0000	1.1.2.8
***************
*** 5,13 ****
  use C4::Auth;
  use CGI;
! use C4::Context;
  
  my $classlist='';
  
! my $dbh=C4::Context->dbh();
  my $sth=$dbh->prepare("select groupname,itemtypes from itemtypesearchgroups order by groupname");
  $sth->execute;
--- 5,13 ----
  use C4::Auth;
  use CGI;
! use C4::Database;
  
  my $classlist='';
  
! my $dbh=C4Connect;
  my $sth=$dbh->prepare("select groupname,itemtypes from itemtypesearchgroups order by groupname");
  $sth->execute;





More information about the Koha-cvs mailing list