From daa2238c693f0e1cf06c8188fc20632a2ab1589b 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 --- suggestion/suggestion.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl index 6c2bdc84be8..2d76de71368 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.25.1