From a798255cf29701b4600fa6300f2f29f1535131a2 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 21 Jan 2003 20:08:17 +0000 Subject: [PATCH] do not show Export link on printview output --- sql.php3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql.php3 b/sql.php3 index 68a93711f..b5749b809 100755 --- a/sql.php3 +++ b/sql.php3 @@ -564,7 +564,8 @@ else { // Export link, if only one table // (the url_query has extra parameters that won't be used to export) - if (isset($analyzed_sql[0]['table_ref'][0]['table_true_name']) + if (!isset($printview) + && isset($analyzed_sql[0]['table_ref'][0]['table_true_name']) && !isset($analyzed_sql[0]['table_ref'][1]['table_true_name'])) { echo ' ' . "\n" . ' ' . $strExport . '' . "\n";