[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
Mon Oct 2 12:02:35 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17989
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #66317|0 |1
is obsolete| |
Attachment #66318|0 |1
is obsolete| |
Attachment #66319|0 |1
is obsolete| |
Attachment #66320|0 |1
is obsolete| |
Attachment #66321|0 |1
is obsolete| |
--- Comment #18 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 67514
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67514&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list