Bug 8267 - Overdue notices not working
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 18 Jun 2012 14:08:23 +0000 (10:08 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 20 Jun 2012 21:14:56 +0000 (23:14 +0200)
commitac5e09a0f0564b437ab9b2aa47ebc3e1e35b796b
treea10cf8003ff92878e8afb2b982570606734236cc
parentdeb0e8dc45301acb74b7fba682bd90258aa0c100
Bug 8267 - Overdue notices not working

The variable $i was being re-used and overwriting the necessary value that was being passed to a subroutine. Renaming $i to $j fixed it. I also added an extra safety check within parse_letter that would also have prevented this bug.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
misc/cronjobs/overdue_notices.pl