[Koha-cvs] CVS: koha/circ circulation.pl,1.55,1.56

Chris Cormack rangi at users.sourceforge.net
Thu Jun 26 11:31:41 CEST 2003


Update of /cvsroot/koha/koha/circ
In directory sc8-pr-cvs1:/tmp/cvs-serv11508/circ

Modified Files:
	circulation.pl 
Log Message:
Fixing the sticky due date problem reported by jerome



Index: circulation.pl
===================================================================
RCS file: /cvsroot/koha/koha/circ/circulation.pl,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -r1.55 -r1.56
*** circulation.pl	5 Jun 2003 17:03:32 -0000	1.55
--- circulation.pl	26 Jun 2003 09:31:39 -0000	1.56
***************
*** 139,143 ****
  	$barcode = cuecatbarcodedecode($barcode);
  	my ($datedue, $invalidduedate) = fixdate($year, $month, $day);
- 
  	unless ($invalidduedate) {
  		$env{'datedue'}=$datedue;
--- 139,142 ----
***************
*** 362,366 ****
  		$invalidduedate="Invalid Due Date Specified. Book was not issued.  $year is not a leap year.<p>\n";
  	    } else {
! 		$date=format_date("$year-$month-$day");
  	    }
  	}
--- 361,365 ----
  		$invalidduedate="Invalid Due Date Specified. Book was not issued.  $year is not a leap year.<p>\n";
  	    } else {
! 		$date="$year-$month-$day";
  	    }
  	}





More information about the Koha-cvs mailing list