Koha-clms/members
Jonathan Druart e49602a87e
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>
2025-07-21 14:01:31 -06:00
..
accountline-details.pl Bug 37222: Standardize markup for sidebar menus 2025-02-21 16:41:24 +01:00
alert-subscriptions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
apikeys.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
boraccount.pl Bug 37211: Make notes in patron transactions table editable 2025-04-14 08:51:12 +02:00
cancel-charge.pl Bug 23674: Add ability to add note to canceled charge 2025-03-10 11:42:36 +01:00
default_messageprefs.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
deletemem.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
discharge.pl Bug 14250: Patron with fines cannot be discharged anymore 2025-04-22 08:46:26 +02:00
discharges.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
files.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
holdshistory.pl Bug 40401: Implement Koha::Patron->is_anonymous 2025-07-21 14:01:31 -06:00
housebound.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
ill-requests.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
mancredit.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
maninvoice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member-flags.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member-password.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
member.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
memberentry.pl Bug 40116: Do not display "Patron is already a guarantor..." popup when error occurs 2025-07-16 14:31:42 -06:00
members-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members-update-do.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members-update.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
merge-patrons.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
mod_debarment.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
moremember.pl Bug 40401: Implement Koha::Patron->is_anonymous 2025-07-21 14:01:31 -06:00
notices.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
patronimage.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
pay.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
paycollect.pl Bug 37222: Standardize markup for sidebar menus 2025-02-21 16:41:24 +01:00
print_overdues.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printfeercpt.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printinvoice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printnotice.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
printslip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
purchase-suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
readingrec.pl Bug 40401: Implement Koha::Patron->is_anonymous 2025-07-21 14:01:31 -06:00
recallshistory.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
routing-lists.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
setstatus.pl Bug 38847: Fix error when renewing an expired child patron without a guarantor 2025-02-12 15:28:17 +01:00
statistics.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
summary-print.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
two_factor_auth.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
update-child.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00