Pull-request: #16754 Fixes: #16703 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
07ea06d0c6
@ -140,7 +140,7 @@ final class ExportController extends AbstractController
|
||||
$export_type = 'database';
|
||||
}
|
||||
|
||||
$GLOBALS['single_table'] = $_POST['single_table'] ?? $_GET['single_table'] ?? null;
|
||||
$GLOBALS['single_table'] = $_POST['single_table'] ?? $_GET['single_table'] ?? $GLOBALS['single_table'] ?? null;
|
||||
|
||||
$exportList = Plugins::getExport($export_type, isset($GLOBALS['single_table']));
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ final class ExportController extends AbstractController
|
||||
$unlim_num_rows = 0;
|
||||
}
|
||||
|
||||
$GLOBALS['single_table'] = $_POST['single_table'] ?? $_GET['single_table'] ?? null;
|
||||
$GLOBALS['single_table'] = $_POST['single_table'] ?? $_GET['single_table'] ?? $GLOBALS['single_table'] ?? null;
|
||||
|
||||
$exportList = Plugins::getExport('server', isset($GLOBALS['single_table']));
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ class ExportController extends AbstractController
|
||||
$unlim_num_rows = 0;
|
||||
}
|
||||
|
||||
$GLOBALS['single_table'] = $_POST['single_table'] ?? $_GET['single_table'] ?? null;
|
||||
$GLOBALS['single_table'] = $_POST['single_table'] ?? $_GET['single_table'] ?? $GLOBALS['single_table'] ?? null;
|
||||
|
||||
$exportList = Plugins::getExport('table', isset($GLOBALS['single_table']));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user