diff --git a/db_qbe.php b/db_qbe.php index 65a13c055..aa3ad3e7d 100644 --- a/db_qbe.php +++ b/db_qbe.php @@ -815,7 +815,8 @@ if (isset($Field) && count($Field) > 0) { } } // end if (exactly one where clause) - unset($tab_all[$master]); + $tab_left = $tab_all; + unset($tab_left[$master]); $tab_know[$master] = $master; $run = 0;