diff options
| author | czaks <marcin@6irc.net> | 2014-10-09 01:49:29 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-09 01:49:29 +0200 |
| commit | 948695e73cf086bfa59cda0e4cd2822853b77f3b (patch) | |
| tree | 5ce643e60406571d617cb750244b64650ff645a6 /templates/themes | |
| parent | 7719ad3e8148af407a72d92f2d157c7d29601689 (diff) | |
lel, this one will do
Diffstat (limited to 'templates/themes')
| -rw-r--r-- | templates/themes/public_banlist/theme.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php index 68037aec..f2b65839 100644 --- a/templates/themes/public_banlist/theme.php +++ b/templates/themes/public_banlist/theme.php @@ -24,10 +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']); + Bans::stream_json(false, true, true, array()); $out = ob_get_contents(); ob_end_clean(); return $out; |
