bug 575868

This commit is contained in:
Marc Delisle
2002-07-14 15:31:57 +00:00
parent 0d95a0be7c
commit 25ed75636a
2 changed files with 4 additions and 1 deletions

View File

@@ -81,10 +81,12 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
$cfgRelation['commwork'] = FALSE;
// No server selected -> no bookmark table
// we return the array with the FALSEs in it,
// to avoid some 'Unitialized string offset' errors later
if ($server == 0
|| empty($cfg['Server'])
|| empty($cfg['Server']['pmadb'])) {
return '';
return $cfgRelation;
}
$cfgRelation['user'] = $cfg['Server']['user'];