From 7367b114c916aab9bebd06135fe889cf2a8883d4 Mon Sep 17 00:00:00 2001 From: Eric Garcia Date: Mon, 29 Jul 2024 15:21:59 +0000 Subject: [PATCH] Bug 37411: Fixed 500 error when exporting budget planning To test: 1. Acquistions -> Budgets -> Funds -> Planning, select any option 2. In the toolbar see Export, and click Submit and see a 500 error 3. Apply patch, restart_all 4. Repeat steps 1-2 5. Notice the 500 error is gone and the CSV is exported properly Notes: Is there a reason we call exit(1) after exporting the csv? Signed-off-by: Roman Dolny Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- admin/aqplan.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/admin/aqplan.pl b/admin/aqplan.pl index 899791b269..9bee05e73c 100755 --- a/admin/aqplan.pl +++ b/admin/aqplan.pl @@ -400,7 +400,6 @@ foreach my $budget (@budgets) { if ( $output eq "file" ) { _print_to_csv(\@authvals_row, \@budget_lines); - exit(1); } $template->param( -- 2.39.5