Skip to content

Commit

Permalink
[bugfix]ban appeals (was also present in tinyboard)
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin-Kaf committed Oct 5, 2014
1 parent cb7b7d0 commit 9cee5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/functions.php
Expand Up @@ -739,7 +739,7 @@ function displayBan($ban) {
$pending_appeal = false;

if ($config['ban_appeals']) {
$query = query("SELECT `time`, `denied` FROM `ban_appeals` WHERE `ban_id` = " . (int)$ban['id']) or error(db_error());
$query = query("SELECT `time`, `denied` FROM ``ban_appeals`` WHERE `ban_id` = " . (int)$ban['id']) or error(db_error());
while ($ban_appeal = $query->fetch(PDO::FETCH_ASSOC)) {
if ($ban_appeal['denied']) {
$denied_appeals[] = $ban_appeal['time'];
Expand Down

0 comments on commit 9cee5f6

Please sign in to comment.