attempt to stop warnings
authorChris Sharp <csharp@georgialibraries.org>
Wed, 1 Feb 2023 15:12:38 +0000 (10:12 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 1 Feb 2023 15:12:38 +0000 (10:12 -0500)
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm

index 3c32377..d40ee76 100644 (file)
@@ -2380,7 +2380,7 @@ sub unique_unnested_numbers {
             map { $_ eq 'NULL' ? undef : (split /,/, $_) }
                 map { substr($_, 1, -1) } @_
         )
-    );
+    ) if defined $_;
 }
 
 # Given a list of numbers, turn them into a PG array, skipping undef's