|
Lines 183-191
sub get_effective_rule {
Link Here
|
| 183 |
my $itemtype = $params->{itemtype}; |
183 |
my $itemtype = $params->{itemtype}; |
| 184 |
my $branchcode = $params->{branchcode}; |
184 |
my $branchcode = $params->{branchcode}; |
| 185 |
|
185 |
|
| 186 |
my @c = caller; |
|
|
| 187 |
Koha::Exceptions::MissingParameter->throw( |
186 |
Koha::Exceptions::MissingParameter->throw( |
| 188 |
"Required parameter 'rule_name' missing" . "@c") |
187 |
"Required parameter 'rule_name' missing") |
| 189 |
unless $rule_name; |
188 |
unless $rule_name; |
| 190 |
|
189 |
|
| 191 |
for my $v ( $branchcode, $categorycode, $itemtype ) { |
190 |
for my $v ( $branchcode, $categorycode, $itemtype ) { |
| 192 |
- |
|
|