Koha-clms/circ
Jonathan Druart 885c2c5662
Bug 40401: Implement Koha::Patron->is_anonymous
The first motivation of this patch is to remove the following warnings
from t/db_dependent/Auth.t:
Use of uninitialized value $anonymous_patron in string eq at /kohadevbox/koha/C4/Auth.pm line 1497

Actually a correct fix seems to add a new `is_anonymous` method to
Koha::Patron in order to remove the warnings from everywhere else.

Test plan:
Confirm that you cannot log in using the anonymous patron and that the 2
tests are passing
  prove t/db_dependent/Auth.t t/db_dependent/Koha/Patron.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit e49602a87e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-07-24 21:04:38 +02:00
..
add_message.pl Bug 38095: Include logged-in branch in custom patron message 2025-02-21 16:41:28 +01:00
article-request-slip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
article-requests.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bookcount.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
branchoverdues.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
branchtransfers.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkout-notes.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
circulation-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
circulation.pl Bug 40401: Implement Koha::Patron->is_anonymous 2025-07-24 21:04:38 +02:00
curbside_pickups.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
del_message.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
hold-transfer-slip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
on-site_checkouts.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
overdue.pl Bug 31167: Only mark due dates in the past red on overdues report 2025-03-21 17:50:27 +01:00
pendingbookings.pl Bug 33736: Add filter for holding library 2024-10-25 11:09:55 +02:00
pendingreserves.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
renew.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
request-article.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reserveratios.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
returns.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
set-library.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
transfer-slip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
transfers_to_send.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
transferstoreceive.pl Bug 39834: Replace some tabs with spaces 2025-06-17 21:42:59 +02:00
view_holdsqueue.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
waitingreserves.pl Bug 39834: Replace some tabs with spaces 2025-06-17 21:42:59 +02:00