From 7de032b99b0edae9d3c832a4e09d1a780954b838 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 22 Mar 2022 15:40:18 +0100 Subject: [PATCH] Bug 23991: Fix 'all' libraries Signed-off-by: Nick Clemens --- suggestion/suggestion.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 6c2bdc84be..2d76de7136 100755 --- a/suggestion/suggestion.pl +++ b/suggestion/suggestion.pl @@ -404,7 +404,9 @@ if ($op=~/else/) { $search_params->{budgetid} = [undef, '' ]; } for my $f (qw (branchcode budgetid)) { - delete $search_params->{$f} if $search_params->{$f} eq '__ANY__'; + delete $search_params->{$f} + if $search_params->{$f} eq '__ANY__' + || $search_params->{$f} eq ''; } my @suggestions = -- 2.30.2