From 96722c24f400ec1e12e7883c8f40c08eaa1b6fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Sat, 8 Oct 2005 17:53:31 +0000 Subject: [PATCH] fix undefined variable warning --- libraries/relation.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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