This commit is contained in:
Marc Delisle
2004-01-05 00:37:02 +00:00
parent a0610e1223
commit b7ad9c1119

View File

@@ -711,8 +711,10 @@ else {
echo '</p>' . "\n";
}
// Export link, if only one table
// Export link
// (the url_query has extra parameters that won't be used to export)
// (the single_table parameter is used in display_export.lib.php
// to hide the SQL and the structure export dialogs)
if (!isset($printview)) {
if (isset($analyzed_sql[0]['table_ref'][0]['table_true_name']) && !isset($analyzed_sql[0]['table_ref'][1]['table_true_name'])) {
$single_table = '&amp;single_table=true';