From bef006a92acae59fff893d57831eb0db761efd2b Mon Sep 17 00:00:00 2001 From: Tim McLaughlin Date: Mon, 9 Jan 2017 18:45:38 -0800 Subject: [PATCH] Fix PHP notices and warning related to dbs_to_test global. Issue #12876 Signed-off-by: Tim McLaughlin --- ChangeLog | 1 + libraries/navigation/NavigationTree.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1f857d71ea..b98e67af55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,6 +30,7 @@ phpMyAdmin - ChangeLog - issue #12859 Changed WHERE condition to 0 instead of 1 for SQL query window to avoid accidents - issue #12872 Use same query for display and execution when dropping index - issue #12868 Fix check for user groups freatures being enabled +- issue #12876 Fix notices and warning related to dbs_to_test global 4.6.5.2 (2016-12-05) - issue #12765 Fixed SQL export with newlines diff --git a/libraries/navigation/NavigationTree.php b/libraries/navigation/NavigationTree.php index 2b7ca44a06..4ee837b36d 100644 --- a/libraries/navigation/NavigationTree.php +++ b/libraries/navigation/NavigationTree.php @@ -16,6 +16,8 @@ use PMA\libraries\RecentFavoriteTable; use PMA\libraries\Response; use PMA\libraries\Util; +require_once 'libraries/check_user_privileges.lib.php'; + /** * Displays a collapsible of database objects in the navigation frame *