summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod.php b/mod.php
index 60e2c3f4..3c788c8f 100644
--- a/mod.php
+++ b/mod.php
@@ -2255,7 +2255,7 @@
'<input type="hidden" name="ban_id" value="' . $ban['id'] . '" />' .
- '<input type="submit" name="unban" value="Remove ban' . ($query->rowCount() == 1 ? '' : 's') . '" ' .
+ '<input type="submit" name="unban" value="Remove ban" ' .
(!hasPermission($config['mod']['unban']) ? 'disabled' : '') .
'/></form>';
}