[Koha-bugs] [Bug 27205] Hold routes are not dealing with invalid pickup locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 18 11:57:46 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27205

--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Tomas, do you agree it reads better like that?

-        unless (
-            !defined $pickup_library_id
-            or $hold->is_pickup_location_valid(
-                { library_id => $pickup_library_id }
-            )
+        if (
+            defined $pickup_library_id
+            and not $hold->is_pickup_location_valid({ library_id =>
$pickup_library_id })

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list