Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db_export.php')
-rw-r--r--db_export.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/db_export.php b/db_export.php
index 7098db8094..61a01a1189 100644
--- a/db_export.php
+++ b/db_export.php
@@ -48,8 +48,9 @@ $export_page_title = __('View dump (schema) of database');
// exit if no tables in db found
if ($num_tables < 1) {
- $message = PhpMyAdmin\Message::error(__('No tables found in database.'));
- $message->getDisplay();
+ $response->addHTML(
+ PhpMyAdmin\Message::error(__('No tables found in database.'))->getDisplay()
+ );
exit;
} // end if