From 24ff8724e9323f06eb015cac6268492e5149b375 Mon Sep 17 00:00:00 2001 From: Mike Beck Date: Wed, 24 Jul 2002 12:45:04 +0000 Subject: [PATCH] another change by loic so there will be no errormessages when there are no columns in a table --- db_details_qbe.php3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db_details_qbe.php3 b/db_details_qbe.php3 index 1ca7f1b0b..37c1a58bf 100755 --- a/db_details_qbe.php3 +++ b/db_details_qbe.php3 @@ -157,7 +157,9 @@ while ($i < $tbl_result_cnt) { $j++; } // end while } // end if - mysql_free_result($fld_results); + if ($fld_results) { + mysql_free_result($fld_results); + } $i++; } // end if