From e1c2f85c2c9ad76d03e10cdcbf34d8b86e2927d5 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 18 Nov 2009 10:02:40 +0100 Subject: [PATCH] (bug #3791) overduerules and numeric categorycodes this fix overduesrules.pl when library have numeric category codes. --- tools/overduerules.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/overduerules.pl b/tools/overduerules.pl index a7d65102ad..61c05b656a 100755 --- a/tools/overduerules.pl +++ b/tools/overduerules.pl @@ -86,7 +86,7 @@ if ($op eq 'save') { my $sth_delete=$dbh->prepare("DELETE FROM overduerules WHERE branchcode=? AND categorycode=?"); foreach my $key (@names){ # ISSUES - if ($key =~ /(.*)([1-3])-(.*)/) { + if ($key =~ /(delay|letter)([1-3])-(.*)/) { my $type = $1; # data type my $num = $2; # From 1 to 3 my $bor = $3; # borrower category -- 2.39.5