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