diff options
Diffstat (limited to 'libraries/classes/Controllers/Export/TablesController.php')
-rw-r--r-- | libraries/classes/Controllers/Export/TablesController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/classes/Controllers/Export/TablesController.php b/libraries/classes/Controllers/Export/TablesController.php index 73d56b3179..eae20fc098 100644 --- a/libraries/classes/Controllers/Export/TablesController.php +++ b/libraries/classes/Controllers/Export/TablesController.php @@ -6,6 +6,7 @@ namespace PhpMyAdmin\Controllers\Export; use PhpMyAdmin\Controllers\AbstractController; use PhpMyAdmin\Controllers\Database\ExportController; +use PhpMyAdmin\Http\ServerRequest; use PhpMyAdmin\ResponseRenderer; use PhpMyAdmin\Template; @@ -22,7 +23,7 @@ final class TablesController extends AbstractController $this->exportController = $exportController; } - public function __invoke(): void + public function __invoke(ServerRequest $request): void { if (empty($_POST['selected_tbl'])) { $this->response->setRequestStatus(false); @@ -31,6 +32,6 @@ final class TablesController extends AbstractController return; } - ($this->exportController)(); + ($this->exportController)($request); } } |