From f8388778197bf511a02b3c9c2d83a1762c454a04 Mon Sep 17 00:00:00 2001 From: Samith Dassanayake Date: Fri, 29 Mar 2013 16:45:12 +0530 Subject: [PATCH] Fixed #3857 Missing error message when adding an existing column --- tbl_addfield.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tbl_addfield.php b/tbl_addfield.php index 0a9b385b6e..9d5e860917 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -206,7 +206,9 @@ if (isset($_REQUEST['do_save_data'])) { $abort = true; include 'tbl_structure.php'; } else { - PMA_Util::mysqlDie('', '', '', $err_url, false); + $response = PMA_Response::getInstance(); + $error_message_html = PMA_Util::mysqlDie('', '', '', $err_url, false); + $response->addHTML($error_message_html); if ($GLOBALS['is_ajax_request'] == true) { exit; }