From 2a838cabce104010a148fd401b98d52d24c0f039 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 18 Sep 2014 12:40:21 +0200 Subject: [PATCH] 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 Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- admin/aqbudgets.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index a7a4dfe20b..287cf139c7 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';