Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[#20970259] fix var scoping in matching-rules.pl

  • Loading branch information...
commit 229da30e3d1be09020fe2c4d8e9c514e149b94cf 1 parent 6099cf6
Clay Fouts ctfliblime authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 admin/matching-rules.pl
5 admin/matching-rules.pl
@@ -52,12 +52,12 @@
52 52 if ($op eq "edit_matching_rule") {
53 53 edit_matching_rule_form($template, $matcher_id);
54 54 } elsif ($op eq "edit_matching_rule_confirmed") {
55   - add_update_matching_rule($template, $matcher_id);
  55 + add_update_matching_rule($template, $matcher_id, $input);
56 56 $display_list = 1;
57 57 } elsif ($op eq "add_matching_rule") {
58 58 add_matching_rule_form($template);
59 59 } elsif ($op eq "add_matching_rule_confirmed") {
60   - add_update_matching_rule($template, $matcher_id);
  60 + add_update_matching_rule($template, $matcher_id, $input);
61 61 $display_list = 1;
62 62 } elsif ($op eq "delete_matching_rule") {
63 63 delete_matching_rule_form($template, $matcher_id);
@@ -91,6 +91,7 @@ sub add_matching_rule_form {
91 91 sub add_update_matching_rule {
92 92 my $template = shift;
93 93 my $matcher_id = shift;
  94 + my $input = shift;
94 95
95 96 # do parsing
96 97 my $matcher = C4::Matcher->new('biblio', 1000); # FIXME biblio only for now

0 comments on commit 229da30

Please sign in to comment.
Something went wrong with that request. Please try again.