Permalink
Browse files

Escape zero_rows (this is not dangerous, but I think it should be esc…

…aped).
  • Loading branch information...
nijel committed Apr 9, 2009
1 parent f7b2b08 commit df9defe353746a166df80ec95d83e4c9c9d23d9f
Showing with 1 addition and 1 deletion.
  1. +1 −1 sql.php
View
@@ -504,7 +504,7 @@
// the form should not have priority over
// errors like $strEmptyResultSet
} elseif (!empty($zero_rows) && !$is_select) {
$message = PMA_Message::rawSuccess($zero_rows);
$message = PMA_Message::rawSuccess(htmlspecialchars($zero_rows));
} elseif (!empty($GLOBALS['show_as_php'])) {
$message = PMA_Message::success('strShowingPhp');
} elseif (isset($GLOBALS['show_as_php'])) {

0 comments on commit df9defe

Please sign in to comment.