quiet the logs
authorChris Sharp <csharp@georgialibraries.org>
Tue, 31 Jan 2023 18:23:11 +0000 (13:23 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 31 Jan 2023 18:23:11 +0000 (13:23 -0500)
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm

index 44209e2..72105b0 100644 (file)
@@ -1580,7 +1580,7 @@ sub patron_adv_search {
     return ($fleshed ? undef : []) unless (ref $search_hash ||'') eq 'HASH';
     my $search_ok = 0;
     for my $key (keys %$search_hash) {
-        next if $search_hash->{$key}{value} =~ /^\s*$/; # empty filter
+        next if !$search_hash->{$key}{value} ||  $search_hash->{$key}{value} =~ /^\s*$/; # empty filter
         $search_ok = 1;
         last;
     }