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

@@ -8,6 +8,7 @@ $Source$
2002-07-14 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html, db_details_exports.php3, tbl_properties_export.php3:
add a link to a new faq entry explaining some dump options
* libraries/relation.lib.php3: bug 575868 Unitialized string offset
2002-07-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php3: bug 580929: do not EXPLAIN if this is

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'];