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

(-)a/acqui/acqui-home.pl (-5 / +2 lines)
Lines 82-91 foreach my $budget ( @{$budget_arr} ) { Link Here
82
    next unless (CanUserUseBudget($loggedinpatron, $budget, $userflags));
82
    next unless (CanUserUseBudget($loggedinpatron, $budget, $userflags));
83
83
84
    if ( my $borrowernumber = $budget->{budget_owner_id} ) {
84
    if ( my $borrowernumber = $budget->{budget_owner_id} ) {
85
        unless (exists $patrons{$borrowernumber}) {
85
        my $patron_borrowernumber = $patrons{$borrowernumber} // Koha::Patrons->find($borrowernumber);
86
            $patrons{$borrowernumber} = Koha::Patrons->find($borrowernumber);
86
        $budget->{budget_owner} = $patron_borrowernumber;
87
        }
88
        $budget->{budget_owner} = $patrons{$borrowernumber};
89
    }
87
    }
90
88
91
    if ( !defined $budget->{budget_amount} ) {
89
    if ( !defined $budget->{budget_amount} ) {
92
- 

Return to bug 35921