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';