From cb25753966fc905059136c387005f1759a51edf7 Mon Sep 17 00:00:00 2001 From: lorilee Date: Mon, 19 Jul 2010 17:17:04 -0700 Subject: [PATCH] Sets the default export method if it is not set in config.inc.php --- libraries/display_export.lib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php index 5f887e215..178328aad 100644 --- a/libraries/display_export.lib.php +++ b/libraries/display_export.lib.php @@ -62,6 +62,10 @@ 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 '';