Bug 5549 : Koha::Calendar::addDate should not loop on -1
authorColin Campbell <colin.campbell@ptfs-europe.com>
Fri, 24 Jun 2011 13:28:22 +0000 (14:28 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 20 Mar 2012 00:26:36 +0000 (13:26 +1300)
commite012957186426b9577bfc8498c5971990b258024
treecb1bf9d53a2481dabd2b86b6f0906b21d1c6de28
parent1d62ea2c9ff7edc0bc1e202b8f5591939ee5735f
Bug 5549 : Koha::Calendar::addDate should not loop on -1

Control variable of loop should be absolute value
to avoid looping when backtracking
Koha/Calendar.pm
t/Kalendar.t