From 2be1f7ac85d48890b53c290d48af269d9166a3a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 19 Sep 2002 15:57:43 +0000 Subject: [PATCH] fix for #611499 --- tbl_printview.php3 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tbl_printview.php3 b/tbl_printview.php3 index f1396049d..ff666c839 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -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 ' '; + $comments = PMA_getComments($db, $table); if (isset($comments[$field_name])) { echo htmlspecialchars($comments[$field_name]); }