Sets the default export method if it is not set in config.inc.php

This commit is contained in:
lorilee
2010-07-19 17:17:04 -07:00
parent a37b66bde5
commit cb25753966

View File

@@ -62,6 +62,10 @@ if (isset($single_table)) {
echo '<input type="hidden" name="export_type" value="' . $export_type . '" />' . "\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 '<input type="hidden" name="export_method" value="' . $cfg['Export']['method'] . '" />';