fix previous commit; markup is called via reference

This commit is contained in:
czaks 2013-07-31 20:41:56 -04:00 committed by Michael Foster
parent 05fb4cbca4
commit bc76d934fe

View File

@ -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);