From 0c0f910dc7a519885158e60fadfce175eb480f24 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 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. --- suggestion/suggestion.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.10.4