From 9f00630b408d4ce032637c5488aeedde90f5e693 Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Thu, 11 Feb 2016 15:21:54 +0000 Subject: Display banned post contents if reason does not contain cp --- templates/themes/public_banlist/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php index 93b78677..c9f7e6f0 100644 --- a/templates/themes/public_banlist/theme.php +++ b/templates/themes/public_banlist/theme.php @@ -25,7 +25,7 @@ public static function gen_json($settings) { ob_start(); - Bans::stream_json(false, true, true, array(), true); + Bans::stream_json(false, true, true, array(), array("/\bcp\b/i")); $out = ob_get_contents(); ob_end_clean(); return $out; -- cgit v1.3