From 7bdae8f93cea6784517185a33a55a02cda7223f5 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. --- admin/aqbudgets.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl index 1a66c9c..fbee4da 100755 --- a/admin/aqbudgets.pl +++ b/admin/aqbudgets.pl @@ -253,7 +253,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'; -- 2.1.0