mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
Merge pull request #97 from cable6-dev/bugfix-ban_appeals
[bugfix]ban appeals (was also present in tinyboard)
This commit is contained in:
commit
6b08e09008
@ -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'];
|
||||
|
Loading…
Reference in New Issue
Block a user