pmadb can be blank
This commit is contained in:
@@ -14,6 +14,7 @@ $Source$
|
|||||||
is deprecated and no longer works on sourceforge, use j
|
is deprecated and no longer works on sourceforge, use j
|
||||||
* lang/french.inc.php3 updates
|
* lang/french.inc.php3 updates
|
||||||
* user_password.php3 parse error as reported by Olivier
|
* user_password.php3 parse error as reported by Olivier
|
||||||
|
* libraries/relation.lib.php3: pmadb can be left blank
|
||||||
|
|
||||||
2002-06-16 Marc Delisle <lem9@users.sourceforge.net>
|
2002-06-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/sync_lang.sh: new script thanks to Michal Cihar
|
* lang/sync_lang.sh: new script thanks to Michal Cihar
|
||||||
|
@@ -60,7 +60,9 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
|
|||||||
$cfgRelation['commwork'] = FALSE;
|
$cfgRelation['commwork'] = FALSE;
|
||||||
|
|
||||||
// No server selected -> no bookmark table
|
// No server selected -> no bookmark table
|
||||||
if ($server == 0) {
|
if ($server == 0
|
||||||
|
|| !isset($GLOBALS['cfg']['Server']['pmadb'])
|
||||||
|
|| empty($GLOBALS['cfg']['Server']['pmadb'])) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user