(bug #3791) overduerules and numeric categorycodes
this fix overduesrules.pl when library have numeric category codes.
This commit is contained in:
parent
37e7d9664e
commit
e1c2f85c2c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue