This commit is contained in:
Michal Čihař
2002-09-19 15:57:43 +00:00
parent 7e11ea0c10
commit 2be1f7ac85

View File

@@ -16,9 +16,6 @@ if (!isset($selected_tbl)) {
*/
require('./libraries/relation.lib.php3');
$cfgRelation = PMA_getRelationsParam();
if ($cfgRelation['commwork']) {
$comments = PMA_getComments($db, $table);
}
/**
@@ -168,8 +165,7 @@ while (list($key, $table) = each($the_tables)) {
}
else {
$have_rel = FALSE;
}
// end if
} // end if
/**
@@ -276,6 +272,7 @@ while (list($key, $table) = each($the_tables)) {
}
if ($cfgRelation['commwork']) {
echo ' <td bgcolor="' . $bgcolor . '" nowrap="nowrap">';
$comments = PMA_getComments($db, $table);
if (isset($comments[$field_name])) {
echo htmlspecialchars($comments[$field_name]);
}