mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix some issues with globals (#8709)
Some variables aren't global anymore. Make $vars global.
This commit is contained in:
committed by
Neil Lathwood
parent
c664fbe1a6
commit
9e30d3fd7b
@@ -1575,7 +1575,6 @@ function get_disks_with_smart($device, $app_id)
|
||||
*/
|
||||
function get_dashboards($user_id = null)
|
||||
{
|
||||
global $authorizer;
|
||||
$default = get_user_pref('dashboard');
|
||||
$dashboards = dbFetchRows(
|
||||
"SELECT * FROM `dashboards` WHERE dashboards.access > 0 || dashboards.user_id = ?",
|
||||
|
Reference in New Issue
Block a user