diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index 534f118f7..334f8a399 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -457,8 +457,10 @@ function PMA_getComments($db, $table = '') { $native_comment[$tmp_col] = $field['Comment']; } } + if (isset($native_comment)) { + $comment = $native_comment; + } } - $comment = $native_comment; } // pmadb internal column comments