undefined variable
This commit is contained in:
@@ -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
|
||||
|
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user