[Koha-bugs] [Bug 10387] New: checkauth and get_template_and_user have copy-pasta for setting template variables
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 31 20:53:50 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10387
Bug ID: 10387
Summary: checkauth and get_template_and_user have copy-pasta
for setting template variables
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: gmcharlt at gmail.com
Reporter: gmcharlt at gmail.com
Both checkauth and get_template_and_user set a bunch of template variables
based on system preferences. For the vast majority of cases, creating a new
default template variable means updating both routines; failing to do this
results in bugs like bug 9541.
Setting default template variables should be refactored into a common routine
in order to avoid repetition.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list