[Koha-bugs] [Bug 29074] DefaultHoldExpirationdatePeriod blank value interpreted as zero
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 30 15:11:24 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29074
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Passed QA |Failed QA
CC| |tomascohen at gmail.com
--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Should the condition be:
&& defined C4::Context->preference('DefaultHoldExpirationdatePeriod')
&& C4::Context->preference('DefaultHoldExpirationdatePeriod') ne ''
otherwise it will log a warning if it is undef, each time the syspref is read.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list