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:
parent
ce2af291b0
commit
03d91df1d8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user