enable more features when relation is broken

This commit is contained in:
Marc Delisle
2003-06-12 14:50:05 +00:00
parent 89bf261bdf
commit a32ffd69c3
2 changed files with 33 additions and 29 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-06-12 Marc Delisle <lem9@users.sourceforge.net>
* libraries/relation.lib.php3: bug 751787: should not disable all
the features, when the relation feature is broken
2003-06-11 Marc Delisle <lem9@users.sourceforge.net> 2003-06-11 Marc Delisle <lem9@users.sourceforge.net>
* libraries/auth/cookie.auth.lib.php3: undefined scheme * libraries/auth/cookie.auth.lib.php3: undefined scheme
* main.php3: undefined scheme * main.php3: undefined scheme

View File

@@ -139,6 +139,7 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
if (isset($cfgRelation['table_info'])) { if (isset($cfgRelation['table_info'])) {
$cfgRelation['displaywork'] = TRUE; $cfgRelation['displaywork'] = TRUE;
} }
}
if (isset($cfgRelation['table_coords']) && isset($cfgRelation['pdf_pages'])) { if (isset($cfgRelation['table_coords']) && isset($cfgRelation['pdf_pages'])) {
$cfgRelation['pdfwork'] = TRUE; $cfgRelation['pdfwork'] = TRUE;
} }
@@ -171,7 +172,6 @@ if (!defined('PMA_RELATION_LIB_INCLUDED')){
$cfgRelation['mimework'] = TRUE; $cfgRelation['mimework'] = TRUE;
} }
} }
} // end if
if (isset($cfgRelation['history'])) { if (isset($cfgRelation['history'])) {
$cfgRelation['historywork'] = TRUE; $cfgRelation['historywork'] = TRUE;