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@gmail.com Reporter: gmcharlt@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.