pmadb can be blank

This commit is contained in:
Marc Delisle
2002-06-18 02:33:07 +00:00
parent 4be65de703
commit 61b5ae3318
2 changed files with 4 additions and 1 deletions

View File

@@ -60,7 +60,9 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
$cfgRelation['commwork'] = FALSE;
// No server selected -> no bookmark table
if ($server == 0) {
if ($server == 0
|| !isset($GLOBALS['cfg']['Server']['pmadb'])
|| empty($GLOBALS['cfg']['Server']['pmadb'])) {
return '';
}