Fix ' escaping.

This commit is contained in:
Michal Čihař
2010-05-05 11:19:51 +02:00
parent 1801f84394
commit ea56f74a45

View File

@@ -350,7 +350,7 @@ function PMA_DBI_getError($link = null)
// Some errors messages cannot be obtained by mysql_error() // Some errors messages cannot be obtained by mysql_error()
if ($error_number == 2002) { if ($error_number == 2002) {
$error = '#' . ((string) $error_number) . ' - ' . __('The server is not responding') . ' ' . __('(or the local MySQL server's socket is not correctly configured)'); $error = '#' . ((string) $error_number) . ' - ' . __('The server is not responding') . ' ' . __('(or the local MySQL server\'s socket is not correctly configured)');
} elseif ($error_number == 2003) { } elseif ($error_number == 2003) {
$error = '#' . ((string) $error_number) . ' - ' . __('The server is not responding'); $error = '#' . ((string) $error_number) . ' - ' . __('The server is not responding');
} elseif ($error_number == 1005) { } elseif ($error_number == 1005) {