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

(-)a/members/mancredit.pl (-1 / +3 lines)
Lines 81-90 if ($add){ Link Here
81
    my $amount      = $input->param('amount') || 0;
81
    my $amount      = $input->param('amount') || 0;
82
    my $type        = $input->param('type');
82
    my $type        = $input->param('type');
83
83
84
    my $library_id = C4::Context->userenv ? C4::Context->userenv->{'branch'} : undef;
85
84
    $patron->account->add_credit({
86
    $patron->account->add_credit({
85
        amount      => $amount,
87
        amount      => $amount,
86
        description => $description,
88
        description => $description,
87
        item_id     => $item_id,
89
        item_id     => $item_id,
90
        library_id  => $library_id,
88
        note        => $note,
91
        note        => $note,
89
        type        => $type,
92
        type        => $type,
90
        user_id     => $logged_in_user->id
93
        user_id     => $logged_in_user->id
91
- 

Return to bug 22066