]> git.koha-community.org Git - koha.git/commit
Bug 25393: (QA follow-up) simplify auto_renew condition
authorNick Clemens <nick@bywatersolutions.com>
Wed, 11 Oct 2023 14:00:08 +0000 (14:00 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 20 Oct 2023 19:31:24 +0000 (16:31 -0300)
commit448aec3fc902b609659ea4f91bc312757263ab27
treedccd19d35e072e57a4892ef9e4e8a2780eb08775
parentd67ab2337308eae7921273f08dbfa94581b59e58
Bug 25393: (QA follow-up) simplify auto_renew condition

_CanBookBeAutoRenewed will only ever return 'auto_too_soon' not 'too_soon' so we can do a simple equality check

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm