Sets the default export method if it is not set in config.inc.php
This commit is contained in:
@@ -62,6 +62,10 @@ if (isset($single_table)) {
|
|||||||
|
|
||||||
echo '<input type="hidden" name="export_type" value="' . $export_type . '" />' . "\n";
|
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)
|
// The export method (quick, custom or custom-no-form)
|
||||||
echo '<input type="hidden" name="export_method" value="' . $cfg['Export']['method'] . '" />';
|
echo '<input type="hidden" name="export_method" value="' . $cfg['Export']['method'] . '" />';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user