diff options
| author | czaks <marcin@6irc.net> | 2013-07-31 20:41:56 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-01 01:09:54 -0400 |
| commit | bc76d934fe30c9a6fcea27678dc155e903eb88c3 (patch) | |
| tree | 4c8dbaa5f06e4d3c2d99ac06f6b2427c086557fb /inc | |
| parent | 05fb4cbca4f93ea55d55da3b2e3a7f2f5a174b21 (diff) | |
fix previous commit; markup is called via reference
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/mod/ban.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/ban.php b/inc/mod/ban.php index 45973ae6..71173326 100644 --- a/inc/mod/ban.php +++ b/inc/mod/ban.php @@ -62,7 +62,7 @@ function ban($mask, $reason, $length, $board) { $query->bindValue(':time', time()); if ($reason !== '') { $reason = escape_markup_modifiers($reason); - $reason = markup($reason); + markup($reason); $query->bindValue(':reason', $reason); } else $query->bindValue(':reason', null, PDO::PARAM_NULL); |
