Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #3857 Missing error message when adding an existing column

  • Loading branch information...
commit f8388778197bf511a02b3c9c2d83a1762c454a04 1 parent cdb85e2
@hisamith hisamith authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 tbl_addfield.php
View
4 tbl_addfield.php
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.