Bug 16672 [QA Followup] - Convert negative days to positive days
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 13 Jun 2016 18:26:22 +0000 (18:26 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Jun 2016 15:45:54 +0000 (15:45 +0000)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/cronjobs/cleanup_database.pl

index d9004ef..1987fde 100755 (executable)
@@ -299,7 +299,7 @@ if( $pUnvSelfReg ) {
 }
 
 if ($special_holidays_days) {
-    DeleteSpecialHolidays($special_holidays_days);
+    DeleteSpecialHolidays( abs($special_holidays_days) );
 }
 
 exit(0);