fixed warnings if relation is not defined
This commit is contained in:
@@ -16,6 +16,7 @@ $Source$
|
|||||||
2002-07-18 Steve Alberty <staybyte@users.sourceforge.net>
|
2002-07-18 Steve Alberty <staybyte@users.sourceforge.net>
|
||||||
* It is now possible to print stats for more than 2 GB (up to exa byte)
|
* It is now possible to print stats for more than 2 GB (up to exa byte)
|
||||||
* db_details_structure.php3: correct wrong link from table size to stats
|
* db_details_structure.php3: correct wrong link from table size to stats
|
||||||
|
* tbl_printview.php3: fixed warnings if relation is not defined
|
||||||
|
|
||||||
2002-07-17 Marc Delisle <lem9@users.sourceforge.net>
|
2002-07-17 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/sync_lang.sh: support for multiple convertors (recode added),
|
* lang/sync_lang.sh: support for multiple convertors (recode added),
|
||||||
|
@@ -155,7 +155,7 @@ while (list($key, $table) = each($the_tables)) {
|
|||||||
$fields_cnt = mysql_num_rows($result);
|
$fields_cnt = mysql_num_rows($result);
|
||||||
|
|
||||||
// Check if we can use Relations (Mike Beck)
|
// Check if we can use Relations (Mike Beck)
|
||||||
if ($cfgRelation['relation']) {
|
if (!empty($cfgRelation['relation'])) {
|
||||||
// Find which tables are related with the current one and write it in
|
// Find which tables are related with the current one and write it in
|
||||||
// an array
|
// an array
|
||||||
$res_rel = PMA_getForeigners($db, $table);
|
$res_rel = PMA_getForeigners($db, $table);
|
||||||
@@ -165,7 +165,11 @@ while (list($key, $table) = each($the_tables)) {
|
|||||||
} else {
|
} else {
|
||||||
$have_rel = FALSE;
|
$have_rel = FALSE;
|
||||||
}
|
}
|
||||||
} // end if
|
}
|
||||||
|
else {
|
||||||
|
$have_rel = FALSE;
|
||||||
|
}
|
||||||
|
// end if
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user