diff --git a/db_export.php b/db_export.php index 2e447749c1..7098db8094 100644 --- a/db_export.php +++ b/db_export.php @@ -48,7 +48,8 @@ $export_page_title = __('View dump (schema) of database'); // exit if no tables in db found if ($num_tables < 1) { - PhpMyAdmin\Message::error(__('No tables found in database.'))->display(); + $message = PhpMyAdmin\Message::error(__('No tables found in database.')); + $message->getDisplay(); exit; } // end if