diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 6f7064a6b..2a0563856 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1087,6 +1087,9 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view // 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'])) {