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

--- Comment #1 from Adolfo Rodríguez Taboada <[email protected]> ---
Created attachment 201539
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201539&action=edit
Patch

The fix is minimal: merge the two consecutive if blocks (lines 570–583 in the
original) back into one, so the pickup-location logic is gated by the per-item
condition check rather than the loop-persistent $valid_items flag.

$valid_items retains its correct post-loop role at line 661
(none_available_override).

When handling flags there should be caution with what they are used for and the
way they change values. In the About page there was a bug because the flag of
the background color was never reset. Once a perl library was missing, all the
following inherited that class. This bug is similar.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to