fix previous commit; markup is called via reference

This commit is contained in:
czaks 2013-07-31 20:41:56 -04:00
parent ce2af291b0
commit 03d91df1d8

View File

@ -62,7 +62,7 @@ function ban($mask, $reason, $length, $board) {
$query->bindValue(':time', time()); $query->bindValue(':time', time());
if ($reason !== '') { if ($reason !== '') {
$reason = escape_markup_modifiers($reason); $reason = escape_markup_modifiers($reason);
$reason = markup($reason); markup($reason);
$query->bindValue(':reason', $reason); $query->bindValue(':reason', $reason);
} else } else
$query->bindValue(':reason', null, PDO::PARAM_NULL); $query->bindValue(':reason', null, PDO::PARAM_NULL);