From d6fbffc92b31267d13057e9bd649e696a1695187 Mon Sep 17 00:00:00 2001 From: Jacek Ablewicz Date: Fri, 13 Jun 2014 21:27:38 +0200 Subject: [PATCH] Bug 10519 - Suggestions: 'Organize by' and correct display of tab descriptions broken Content-Type: text/plain; charset=utf-8 Follow-up to fix additional suggestion statuses, which are not working properly due to 416: borrowernumber => $input->param('borrowernumber'), being evaluated in list context inside $template->param() call arguments. Signed-off-by: Christopher Brannon Signed-off-by: Marcel de Rooy --- suggestion/suggestion.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 2af64ab..fa5fe3f 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -413,7 +413,7 @@ foreach my $field ( qw(managedby acceptedby suggestedby budgetid) ) { $template->param( %hashlists, - borrowernumber => $input->param('borrowernumber'), + borrowernumber => ($input->param('borrowernumber') // undef), SuggestionStatuses => GetAuthorisedValues('SUGGEST_STATUS'), ); output_html_with_http_headers $input, $cookie, $template->output; -- 1.7.7.6