summaryrefslogtreecommitdiff
path: root/templates/themes
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-10-09 01:26:34 +0200
committerczaks <marcin@6irc.net>2014-10-09 01:26:34 +0200
commit7719ad3e8148af407a72d92f2d157c7d29601689 (patch)
treed50f2303086c78d308feb9dbca3e7def53810911 /templates/themes
parentccd871c1950ee174aae1a6dfc00053ddacdad39f (diff)
minor bugfix @ banlist
Diffstat (limited to 'templates/themes')
-rw-r--r--templates/themes/public_banlist/theme.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php
index b64b8d9e..68037aec 100644
--- a/templates/themes/public_banlist/theme.php
+++ b/templates/themes/public_banlist/theme.php
@@ -24,6 +24,8 @@
}
public static function gen_json($settings) {
+ global $config, $mod;
+
ob_start();
Bans::stream_json(false, false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
$out = ob_get_contents();