|
|
@ -1395,6 +1395,9 @@ if (isset($_POST['delete'])) { |
|
|
|
if ($ban['expires'] && $ban['expires'] - $ban['created'] <= $config['ban_appeals_min_length']) { |
|
|
|
error(_("You cannot appeal a ban of this length.")); |
|
|
|
} |
|
|
|
|
|
|
|
if (strlen($_POST['appeal']) > $config['appeal_text_max_length']) |
|
|
|
error(_("Your appeal is too long.")); |
|
|
|
|
|
|
|
$query = query("SELECT `denied` FROM ``ban_appeals`` WHERE `ban_id` = $ban_id") or error(db_error()); |
|
|
|
$ban_appeals = $query->fetchAll(PDO::FETCH_COLUMN); |
|
|
|