From 1b812f2d25189b4903028d7f98793542559b1d14 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 30 Aug 2010 12:54:12 -0400 Subject: [PATCH] undefined variables after deleting a user --- libraries/common.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index d5b38cc583..610438c1e3 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1080,6 +1080,9 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice') // Basic url query part $url_params = array(); + if (! isset($GLOBALS['db'])) { + $GLOBALS['db'] = ''; + } if (strlen($GLOBALS['db'])) { $url_params['db'] = $GLOBALS['db']; if (strlen($GLOBALS['table'])) { -- 2.11.4.GIT