summaryrefslogtreecommitdiff
path: root/inc/bans.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-18 14:02:01 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-18 14:02:01 +1000
commitcff15bd765d1bd65f17a4407970244cc9d258521 (patch)
tree4710b5f62bbb29d7035279ce196239a8b4b872b6 /inc/bans.php
parent840e8cd0936ad9577a6cecf56120716af77bdf6a (diff)
bugfix: bans
Diffstat (limited to 'inc/bans.php')
-rw-r--r--inc/bans.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/bans.php b/inc/bans.php
index cf24f097..d860c02c 100644
--- a/inc/bans.php
+++ b/inc/bans.php
@@ -253,7 +253,7 @@ class Bans {
modLog('Created a new ' .
($length > 0 ? preg_replace('/^(\d+) (\w+?)s?$/', '$1-$2', until($length)) : 'permanent') .
' ban on ' .
- ($board ? '/' . $board . '/' : 'all boards') .
+ ($ban_board ? '/' . $ban_board . '/' : 'all boards') .
' for ' .
(filter_var($mask, FILTER_VALIDATE_IP) !== false ? "<a href=\"?/IP/$mask\">$mask</a>" : $mask) .
' (<small>#' . $pdo->lastInsertId() . '</small>)' .