[Koha-bugs] [Bug 17989] Stricter control on source directory for html templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 11:41:29 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17989
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #67514|0 |1
is obsolete| |
Attachment #67515|0 |1
is obsolete| |
Attachment #67516|0 |1
is obsolete| |
Attachment #67517|0 |1
is obsolete| |
Attachment #67518|0 |1
is obsolete| |
Attachment #68654|0 |1
is obsolete| |
--- Comment #26 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 68667
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68667&action=edit
Bug 17989: Centralize bad template check
The bad template check in get_template_and_user can be removed, since
this check has been added in gettemplate on bug 18010.
The check moves here to a new sub in C4::Templates. And will be extended
in a follow-up.
Removed unused variable $path in gettemplatefile.
Test plan:
[1] Run t/db_dependent/Auth.t (get_template_and_user bad calls).
[2] Run t/db_dependent/Templates.t (bad call to gettemplate).
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list