]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Feb 2018 12:47:09 +0000 (09:47 -0300)
commite3d0bc24c97ed35653130cdc55f0da3271d958e9
tree2e25ffb643133f7118a0ff2d92c574ff54680387
parente1b4b53765da4088483a7255b657b1a4c98db694
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>
Koha/Template/Plugin/Branches.pm