[Koha-cvs] CVS: koha moredetail.pl,1.16,1.17

Andrew Arensburger arensb at users.sourceforge.net
Wed Oct 16 14:41:14 CEST 2002


Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv15655

Modified Files:
	moredetail.pl 
Log Message:
C4::Acquisitions doesn't exist anymore. Replaced with C4::Catalogue
(presumably this is correct, because &C4::Catalogue::getorder is
exported, but &C4::Biblio::getorder isn't).
Replaced an obviously-bogus assignment with a much more likely string
comparison.


Index: moredetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/moredetail.pl,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** moredetail.pl	14 Oct 2002 07:40:33 -0000	1.16
--- moredetail.pl	16 Oct 2002 12:41:10 -0000	1.17
***************
*** 26,30 ****
  use CGI;
  use C4::Search;
! use C4::Acquisitions;
  use C4::Output; # contains gettemplate
  my $query=new CGI;
--- 26,30 ----
  use CGI;
  use C4::Search;
! use C4::Catalogue;
  use C4::Output; # contains gettemplate
  my $query=new CGI;
***************
*** 83,88 ****
      $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
  
!     # FIXME - This should be "==", not "=", right?
!     if ($item->{'date_due'} = 'Available'){
  	$item->{'issue'}="<b>Available</b><br>";
      } else {
--- 83,87 ----
      $item->{'booksellerinvoicenumber'} = $order->{'booksellerinvoicenumber'};
  
!     if ($item->{'date_due'} eq 'Available'){
  	$item->{'issue'}="<b>Available</b><br>";
      } else {





More information about the Koha-cvs mailing list