this fix overduesrules.pl when library have numeric category codes. --- tools/overduerules.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/overduerules.pl b/tools/overduerules.pl index a7d6510..61c05b6 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 -- 1.6.3.3 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches