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

--- Comment #5 from Radek Šiman (R-Bit Technology, s.r.o.) <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to