undefined variable

This commit is contained in:
Marc Delisle
2003-06-20 19:57:22 +00:00
parent 7f6aac7f7d
commit ae5e52af8f
2 changed files with 6 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2003-06-20 Marc Delisle <lem9@users.sourceforge.net>
* pdf_schema.php3: use PMA_getForeigners()
* db_details_qbe.php3: undefined variable
2003-06-20 Garvin Hicking <me@supergarv.de>
* db_details_importdocsql.php3: Will now NEVER reveal any filename

View File

@@ -1003,12 +1003,14 @@ if (isset($Field) && count($Field) > 0) {
// In case relations are not defined, just generate the FROM clause
// from the list of tables, however we don't generate any JOIN
if (empty($qry_from)) {
if (empty($qry_from) && isset($tab_all)) {
$qry_from = implode(', ', $tab_all);
}
// Now let's see what we got
$encoded_qry .= urlencode('FROM ' . $qry_from . "\n");
echo 'FROM ' . htmlspecialchars($qry_from) . "\n";
if (!empty($qry_from)) {
$encoded_qry .= urlencode('FROM ' . $qry_from . "\n");
echo 'FROM ' . htmlspecialchars($qry_from) . "\n";
}
// 3. WHERE
$qry_where = '';