diff options
| author | czaks <marcin@6irc.net> | 2014-10-09 01:26:34 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-09 01:26:34 +0200 |
| commit | 7719ad3e8148af407a72d92f2d157c7d29601689 (patch) | |
| tree | d50f2303086c78d308feb9dbca3e7def53810911 /templates/themes | |
| parent | ccd871c1950ee174aae1a6dfc00053ddacdad39f (diff) | |
minor bugfix @ banlist
Diffstat (limited to 'templates/themes')
| -rw-r--r-- | templates/themes/public_banlist/theme.php | 2 |
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(); |
