diff options
author | William Desportes <williamdes@wdes.fr> | 2019-08-22 19:35:10 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-08-23 01:55:41 +0300 |
commit | a23f2ba51a93af0c5eedf91646aa9e04b9bc3a12 (patch) | |
tree | ebf454d3364b221d15c34a34d67b4b12b84e0973 /schema_export.php | |
parent | 5940d11e72c4a9fa5c4a3beb24d3c2db9d4b0277 (diff) |
Fix some bugs with strange table and database names
- Fix export
- Fix split on . to have db and table
- Replace some $_REQUEST occurences
- Add translations to "add tables from another database" : "None" > strNone
- Refactor the ugly code that used globals to use an object "DesignerTable"
- Fix save a new added table
- Fix delete page items
- Fix more bugs
Fixes: #15446
Fixes: #13370
Fixes: #14945
Closes: #15438
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'schema_export.php')
-rw-r--r-- | schema_export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/schema_export.php b/schema_export.php index d25657e8c2..9fe93f68f9 100644 --- a/schema_export.php +++ b/schema_export.php @@ -22,7 +22,7 @@ require_once 'libraries/common.inc.php'; $relation = new Relation(); $cfgRelation = $relation->getRelationsParam(); -if (! isset($_REQUEST['export_type'])) { +if (! isset($_POST['export_type'])) { Util::checkParameters(array('export_type')); } @@ -30,4 +30,4 @@ if (! isset($_REQUEST['export_type'])) { * Include the appropriate Schema Class depending on $export_type * default is PDF */ -Export::processExportSchema($_REQUEST['export_type']); +Export::processExportSchema($_POST['export_type']); |