View | Details | Raw Unified | Return to bug 32092
Collapse All | Expand All

(-)a/Koha/Patron.pm (-4 / +3 lines)
Lines 1088-1102 sub article_request_fee { Link Here
1088
1088
1089
    $library_id //= C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef;
1089
    $library_id //= C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef;
1090
1090
1091
    my $fee = Koha::CirculationRules->get_effective_rule_value(
1091
    my $value = Koha::CirculationRules->get_effective_rule_value(
1092
        {
1092
        {
1093
            branchcode   => $library_id,
1093
            branchcode   => $library_id,
1094
            categorycode => $self->categorycode,
1094
            categorycode => $self->categorycode,
1095
            rule_name    => 'article_request_fee'
1095
            rule_name    => 'article_request_fee'
1096
        }
1096
        }
1097
    ) + 0;
1097
    );
1098
1098
1099
    return $fee;
1099
    return $value ? $value + 0 : 0;
1100
}
1100
}
1101
1101
1102
=head3 add_article_request_fee_if_needed
1102
=head3 add_article_request_fee_if_needed
1103
- 

Return to bug 32092