summaryrefslogtreecommitdiff
authorJonathan Druart <jonathan.druart@biblibre.com>2014-09-18 10:40:21 (GMT)
committer Tomas Cohen Arazi <tomascohen@gmail.com>2014-10-31 19:06:10 (GMT)
commit2a838cabce104010a148fd401b98d52d24c0f039 (patch) (side-by-side diff)
tree35f1b738c2b91a026edbc92ae02cda403f36cd11
parente988b5ada31bbbee7200ea5be00ff275b36959f9 (diff)
Bug 12956: Users are not linked to a fund
When creating a fund, if you add some users, they are not linked to the fund. Note that it works if you link them when editing the fund. Test plan: - Try to link users to a fund on creating it. - On editing, you should see the linked user list. Signed-off-by: Nick Clemens <nick@quecheelibrary.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xadmin/aqbudgets.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl
index a7a4dfe..287cf13 100755
--- a/admin/aqbudgets.pl
+++ b/admin/aqbudgets.pl
@@ -251,7 +251,7 @@ if ($op eq 'add_form') {
$template->param(error_not_authorised_to_modify => 1);
}
} else {
- AddBudget( $budget_hash );
+ $budget_hash->{budget_id} = AddBudget( $budget_hash );
ModBudgetUsers($budget_hash->{budget_id}, @budgetusersid);
}
$op = 'list';