bug #3123433 [interface] Avoid double escaping of MySQL errors.

The PMA_DBI_getError function already does escaping, so there is no need
to escape that string again on displaying.
This commit is contained in:
Michal Čihař
2010-12-02 17:14:59 +01:00
parent 219f5a4fb9
commit 89f03ef81b
3 changed files with 3 additions and 3 deletions

View File

@@ -617,7 +617,6 @@ function PMA_mysqlDie($error_message = '', $the_query = '',
} // end if
if (!empty($error_message)) {
$error_message = htmlspecialchars($error_message);
$error_message = preg_replace("@((\015\012)|(\015)|(\012)){3,}@", "\n\n", $error_message);
}
// modified to show the help on error-returns