From fdd168007bc81a042ba3b4669515b3c38ce787da Mon Sep 17 00:00:00 2001 From: fermin831 Date: Thu, 23 Nov 2017 18:38:22 +0100 Subject: [PATCH] Fixed tree view on public dashboards --- pandora_console/include/ajax/tree.ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/tree.ajax.php b/pandora_console/include/ajax/tree.ajax.php index 4b432736f2..6e7a612171 100644 --- a/pandora_console/include/ajax/tree.ajax.php +++ b/pandora_console/include/ajax/tree.ajax.php @@ -22,7 +22,7 @@ if (is_ajax ()) { $public_hash = get_parameter('hash', 0); // Try to authenticate by hash on public dashboards - if ($public_hash != 0) { + if ($public_hash == 0) { // Login check check_login(); } else {