summaryrefslogtreecommitdiff
path: root/inc/mod/ban.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-16 20:11:10 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-16 20:11:10 +1000
commitcc614e36b4135d5b8ac000bad8ed450df0e61ffe (patch)
tree07026bb2a61e7d36498e40076383762b1098d007 /inc/mod/ban.php
parentf0412b08140e256056fd1ea41ea1930fcc321d22 (diff)
multiple improvements
Diffstat (limited to 'inc/mod/ban.php')
-rw-r--r--inc/mod/ban.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/mod/ban.php b/inc/mod/ban.php
index e7110edf..4d73488f 100644
--- a/inc/mod/ban.php
+++ b/inc/mod/ban.php
@@ -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) {