[Koha-cvs] CVS: koha/opac opac-user.pl,1.14.2.3,1.14.2.4

Owen Leonard oleonard at users.sourceforge.net
Thu Aug 11 20:37:11 CEST 2005


Update of /cvsroot/koha/koha/opac
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3937/opac

Modified Files:
      Tag: rel_2_2
	opac-user.pl 
Log Message:
Sending 'flagged' variable to the template in BORROWER_INFO array to tell the template whether or not to show errors box

Index: opac-user.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-user.pl,v
retrieving revision 1.14.2.3
retrieving revision 1.14.2.4
diff -C2 -r1.14.2.3 -r1.14.2.4
*** opac-user.pl	16 Jun 2005 15:49:05 -0000	1.14.2.3
--- opac-user.pl	11 Aug 2005 18:37:07 -0000	1.14.2.4
***************
*** 31,34 ****
--- 31,38 ----
  $borr->{'ethnicity'}    = fixEthnicity($borr->{'ethnicity'});
  
+ if($borr->{'debarred'} || $borr->{'gonenoaddress'} || $borr->{'lost'}){
+ 	$borr->{'flagged'} =1;
+ }
+ 
  if ($borr->{'amountoutstanding'} > 5) {
      $borr->{'amountoverfive'} = 1;





More information about the Koha-cvs mailing list