make use of PMA_getDbComment()

This commit is contained in:
Sebastian Mendel
2007-10-02 14:16:39 +00:00
parent a42354c9d0
commit 640becedc4
6 changed files with 32 additions and 46 deletions

View File

@@ -38,15 +38,15 @@ if (strlen($table)) {
}
if ($cfgRelation['commwork']) {
$comment = PMA_getComments($db);
$comment = PMA_getDbComment($db);
/**
* Displays DB comment
*/
if (is_array($comment)) {
if ($comment) {
?>
<p> <?php echo $strDBComment; ?>
<i><?php echo htmlspecialchars(implode(' ', $comment)); ?></i></p>
<i><?php echo htmlspecialchars($comment); ?></i></p>
<?php
} // end if
}