[Koha-bugs] [Bug 17492] Show warning if patron's age is out of category limits

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 24 23:04:56 CEST 2016


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

--- Comment #5 from Radek Šiman (R-Bit Technology, s.r.o.) <rbit at rbit.cz> ---
You're right, the IFs are duplicated, they aren't truly necessary, but it's
implemented intentionally. The same approach occures in more files within
intranet-tmpl/prog/en/includes/*.inc and I copied it exactly from
blocked-fines.inc. It can be understood as en extra security check, because
these *.inc files can be included from anywhere and one cannot presume these
checks to be truly performed BEFORE the file inclusion. So it's just a last
resort to prevent a failure in code.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list