diff --git a/libraries/rte/rte_export.lib.php b/libraries/rte/rte_export.lib.php index 34f06d82d2..c7cf9a9f88 100644 --- a/libraries/rte/rte_export.lib.php +++ b/libraries/rte/rte_export.lib.php @@ -46,7 +46,7 @@ function PMA_RTE_handleExport($item_name, $export_data) if ($GLOBALS['is_ajax_request'] == true) { $response = PMA_Response::getInstance(); $response->isSuccess(false); - $response->addJSON('message', $response); + $response->addJSON('message', $message); exit; } else { $response->display();