summaryrefslogtreecommitdiff
path: root/inc/mod
diff options
context:
space:
mode:
authorJuan Tamad <juanchanph@gmail.com>2014-09-01 06:30:33 +0800
committerJuan Tamad <juanchanph@gmail.com>2014-09-01 06:30:33 +0800
commit53ada6a5ff71a04a9970faef7f2623a201a95dc9 (patch)
tree03e7a8e79fef845f4ad0d24d1861c01bdbfe0e52 /inc/mod
parentf7b6693c027ae42f791cdadd6625e48a58c732db (diff)
added option for showing the mod in ban page.
also fixes issue where the Staff is not shown in ban appeals.
Diffstat (limited to 'inc/mod')
-rw-r--r--inc/mod/pages.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/mod/pages.php b/inc/mod/pages.php
index 292d36a2..c21086ed 100644
--- a/inc/mod/pages.php
+++ b/inc/mod/pages.php
@@ -953,6 +953,7 @@ function mod_ban_appeals() {
$query = query("SELECT *, ``ban_appeals``.`id` AS `id` FROM ``ban_appeals``
LEFT JOIN ``bans`` ON `ban_id` = ``bans``.`id`
+ LEFT JOIN ``mods`` ON ``bans``.`creator` = ``mods``.`id`
WHERE `denied` != 1 ORDER BY `time`") or error(db_error());
$ban_appeals = $query->fetchAll(PDO::FETCH_ASSOC);
foreach ($ban_appeals as &$ban) {