]> git.koha-community.org Git - koha.git/commit
Bug 20060: Resolve uninitialized warn from Koha::Template::Plugin::Branches
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 22 Jan 2018 12:04:33 +0000 (13:04 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 16 Feb 2018 01:06:06 +0000 (01:06 +0000)
commit06f5e5f8adb08dab50c05062d127a3c2b15b944e
tree71050883b7786ffbf5b776c1533056e218d555b7
parent9a83b8d6f1fc59fa95ad27dedcd0b9bc669dc9b1
Bug 20060: Resolve uninitialized warn from Koha::Template::Plugin::Branches

The warn comes from undefined C4::Context->userenv->{branch}.
Can be triggered by calling mainpage.pl when being logged out in staff.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Template/Plugin/Branches.pm