Koha-clms/Koha/Template/Plugin
Galen Charlton 065a3a5efa Bug 11779: (follow-up) improve GetLoggedInBranchcode() and add test cases
This patch adjusts the new GetLoggedInBranchcode() template function so
that it returns the empty string rather than undef if there is no
active user environment.  That way, there won't be lots of undefined
value warnings if/when this function gets used in the OPAC.

This patch also adds test cases.

To test:

[1] Verify that there are no regressions in the main test
    plan for this bug.
[2] Verify that prove -v t/db_dependent/Koha_template_plugin_Branches.t
    passes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-02-19 16:40:06 +00:00
..
AuthorisedValues.pm Bug 10626: Remove doubled up TT plugins - Merge KohaAuthorisedValues and AuthorisedValues 2013-12-20 04:14:45 +00:00
Branches.pm Bug 11779: (follow-up) improve GetLoggedInBranchcode() and add test cases 2014-02-19 16:40:06 +00:00
Cache.pm Follow-up Bug 7387 - Add Template::Toolkit plugin to allow caching of includes 2013-03-07 10:58:52 -05:00
EncodeUTF8.pm Bug 10493: (follow-up) fix various QA issues 2013-10-22 17:05:53 +00:00
ItemTypes.pm bug 8215: (followup) run new files through perltidy 2013-05-21 15:51:00 -07:00
Koha.pm Bug 10206 - Add Koha TT Plugin - Koha.Preference 2013-05-24 07:49:51 -07:00
KohaDates.pm Bug 10380: Change prototype for output_pref() routine 2013-10-17 23:34:26 +00:00