first bug in db_details_qbe
This commit is contained in:
@@ -786,10 +786,10 @@ if (isset($Field) && count($Field) > 0) {
|
|||||||
unset($_tab_raw,$_col_raw);
|
unset($_tab_raw,$_col_raw);
|
||||||
|
|
||||||
|
|
||||||
if (count($col_where) == 1) {
|
if (count($tab_where) == 1) {
|
||||||
// if there is exactly one column that has a decent where-clause
|
// if there is exactly one column that has a decent where-clause
|
||||||
// we will just use this
|
// we will just use this
|
||||||
$master = $col_where[0];
|
$master = key($tab_where);
|
||||||
// echo "nur ein where: master =".$master . "\n";
|
// echo "nur ein where: master =".$master . "\n";
|
||||||
} else {
|
} else {
|
||||||
// now let's find out which of the tables has an index
|
// now let's find out which of the tables has an index
|
||||||
@@ -979,7 +979,7 @@ if (isset($Field) && count($Field) > 0) {
|
|||||||
if ($run>5) {
|
if ($run>5) {
|
||||||
|
|
||||||
while ( list(,$_tab) = each($tab_left)) {
|
while ( list(,$_tab) = each($tab_left)) {
|
||||||
$emerg .= ', '.$t_tab;
|
$emerg .= ', '.$_tab;
|
||||||
$tab_left=array_short($tab_left,$_tab);
|
$tab_left=array_short($tab_left,$_tab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user