multiple improvements

This commit is contained in:
Michael Save 2012-04-16 20:11:10 +10:00
parent f0412b0814
commit cc614e36b4
6 changed files with 138 additions and 9 deletions

View file

@ -80,7 +80,7 @@ function ban($mask, $reason, $length, $board) {
$query->execute() or error(db_error($query));
modLog('Created a new ban (<small>#' . $pdo->lastInsertId() . '</small>) for <strong>' . utf8tohtml($mask) . '</strong> with ' . ($reason ? 'reason: <small>' . $reason . '</small>' : 'no reason'));
modLog('Created a new ban (<small>#' . $pdo->lastInsertId() . '</small>) for <strong>' . utf8tohtml($mask) . '</strong> with ' . ($reason ? 'reason: ' . utf8tohtml($reason) . '' : 'no reason'));
}
function unban($id) {