Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
escape query in error message
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+2
−1
view_create.php
|
|
@@ -114,7 +114,8 @@ |
|
|
$response->addJSON( |
|
|
'message', |
|
|
PMA_Message::error( |
|
|
"<i>$sql_query</i><br /><br />" . PMA_DBI_getError() |
|
|
"<i>" . htmlspecialchars($sql_query) . "</i><br /><br />" |
|
|
. PMA_DBI_getError() |
|
|
) |
|
|
); |
|
|
$response->isSuccess(false); |
|
|
|