diff options
| author | czaks <marcin@6irc.net> | 2013-07-31 20:33:27 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-01 01:09:21 -0400 |
| commit | 05fb4cbca4f93ea55d55da3b2e3a7f2f5a174b21 (patch) | |
| tree | b47904f3ad449302b97f04e5521fe5a8f45698e8 /inc/mod/ban.php | |
| parent | 38cc2d77f8cb68973ca52a1ce7d619ded64e83c5 (diff) | |
markup modifiers: there was a plan for adding markup to ban reasons, but assignment was missing; escape markup there too
Diffstat (limited to 'inc/mod/ban.php')
| -rw-r--r-- | inc/mod/ban.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/mod/ban.php b/inc/mod/ban.php index 9166223f..45973ae6 100644 --- a/inc/mod/ban.php +++ b/inc/mod/ban.php @@ -61,7 +61,8 @@ function ban($mask, $reason, $length, $board) { $query->bindValue(':mod', $mod['id']); $query->bindValue(':time', time()); if ($reason !== '') { - markup($reason); + $reason = escape_markup_modifiers($reason); + $reason = markup($reason); $query->bindValue(':reason', $reason); } else $query->bindValue(':reason', null, PDO::PARAM_NULL); |
