Permalink
Browse files

Fixed #3857 Missing error message when adding an existing column

  • Loading branch information...
1 parent cdb85e2 commit f8388778197bf511a02b3c9c2d83a1762c454a04 @hisamith hisamith committed Mar 29, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 tbl_addfield.php
View
@@ -206,7 +206,9 @@
$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;
}

0 comments on commit f838877

Please sign in to comment.