http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12019

--- Comment #10 from Jonathan Druart <[email protected]> ---
Created attachment 26758
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26758&action=edit
Bug 12019: If a fund has a restriction, a owner is mandatory

The C4::Budgets::CanUserUseBudget assumes that budget_owner_id is
set if a restriction (budget_permission) exists.
see
        && $budget->{budget_owner_id}
        && $budget->{budget_owner_id} != $borrower->{borrowernumber}

Test plan:
Edit a fund and try to save it with a limitation and no owner. It should
not be possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to