Skip to content

Commit

Permalink
Fix export on designer page (use POST instead of GET)
Browse files Browse the repository at this point in the history
Affects the file name when exporting
Introduced-by: 3500da1
[ci-skip]
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed May 10, 2019
1 parent 9753b24 commit 450fdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_designer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$html = $databaseDesigner->getHtmlForPageSaveAs($GLOBALS['db']);
} elseif ($_POST['dialog'] == 'export') {
$html = $databaseDesigner->getHtmlForSchemaExport(
$GLOBALS['db'], $_GET['selected_page']
$GLOBALS['db'], $_POST['selected_page']
);
} elseif ($_POST['dialog'] == 'add_table') {
$script_display_field = $designerCommon->getTablesInfo();
Expand Down

0 comments on commit 450fdab

Please sign in to comment.