From c41d4be0b198b5ff28ae0f26eaa9dc184d1bbd21 Mon Sep 17 00:00:00 2001 From: lorilee Date: Mon, 2 Aug 2010 13:48:06 -0700 Subject: [PATCH] This code got deleted somehow from a previous commit --- libraries/display_export.lib.php | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php index a0e3ca5a5..2f8c61094 100644 --- a/libraries/display_export.lib.php +++ b/libraries/display_export.lib.php @@ -55,6 +55,14 @@ if (isset($single_table)) { echo '' . "\n"; +// If the export method was not set, the default is quick +if(!isset($cfg['Export']['method'])) { + $cfg['Export']['method'] = 'quick'; +} +// The export method (quick, custom or custom-no-form) +echo ''; + + if (! empty($sql_query)) { echo '' . "\n"; } @@ -78,11 +86,21 @@ if (! empty($sql_query)) {