1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 09:20:58 +01:00

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());
if ($reason !== '') {
$reason = escape_markup_modifiers($reason);
$reason = markup($reason);
markup($reason);
$query->bindValue(':reason', $reason);
} else
$query->bindValue(':reason', null, PDO::PARAM_NULL);