]> git.koha-community.org Git - koha.git/commit
Bug 20068: Check if user logged in before passing dashboard params to template
authorAleisha Amohia <aleishaamohia@hotmail.com>
Mon, 22 Jan 2018 23:52:21 +0000 (23:52 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 2 Feb 2018 14:12:26 +0000 (14:12 +0000)
commit23090cac1ea82ff7958097562fa38c92219a1e9e
treecb6e39144a4c3f6064dc08cc1dadd9c2502d3382
parent2a87bcc1c40b72672d429e5ac3ef8c548bf75cf5
Bug 20068: Check if user logged in before passing dashboard params to template

This prevents warns from dashboard variables when not logged in

To test:
1) Go to OPAC main homepage. Do not log in
2) Notice warn
3) Apply patch and refresh
4) Warn should be gone
5) Log in
6) Confirm dashboard shows as normal

Sponsored-by: Catalyst IT
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/opac-main.pl