diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-09-12 01:53:39 +0300 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2015-09-12 01:53:39 +0300 |
commit | b92491d79938987b5b147a0ade454d9fb6ce6580 (patch) | |
tree | fb95af61e62577b35216e08246cb7945d8b83ca1 /tbl_export.php | |
parent | 0680c243d196a8695e68546d07195558eb9a6388 (diff) | |
parent | 77c0d66a1b7517225c73ab83990e8bdcbf2d9efa (diff) |
Merge branch 'master' into useNamespaces_master
Diffstat (limited to 'tbl_export.php')
-rw-r--r-- | tbl_export.php | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/tbl_export.php b/tbl_export.php index ca2e60d1ae..cfa19fb42c 100644 --- a/tbl_export.php +++ b/tbl_export.php @@ -175,5 +175,27 @@ if (! empty($sql_query)) { echo PMA\libraries\Util::getMessage(PMA\libraries\Message::success()); } -$export_type = 'table'; -require_once 'libraries/display_export.inc.php'; +require_once 'libraries/display_export.lib.php'; + +if (! isset($sql_query)) { + $sql_query = ''; +} +if (! isset($num_tables)) { + $num_tables = 0; +} +if (! isset($num_tables)) { + $num_tables = 0; +} +if (! isset($unlim_num_rows)) { + $unlim_num_rows = 0; +} +if (! isset($multi_values)) { + $multi_values = ''; +} +$response = PMA_Response::getInstance(); +$response->addHTML( + PMA_getExportDisplay( + 'table', $db, $table, $sql_query, $num_tables, + $unlim_num_rows, $multi_values + ) +); |