From 47aa1a520d1013f680c66a91f015ad1e30100526 Mon Sep 17 00:00:00 2001 From: 8chan Date: Wed, 12 Nov 2014 21:04:58 -0800 Subject: [PATCH] Bug: Banners weren't displaying if board was over 10 chars long --- banners.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banners.php b/banners.php index 10604ea8..2707ca5c 100644 --- a/banners.php +++ b/banners.php @@ -8,7 +8,7 @@ header("Expires: 0"); function get_custom_banner(&$b) { # Validate the board name - if (!(isset($b) && preg_match('/^[a-z0-9]{1,10}$/', $b))) + if (!(isset($b) && preg_match('/^[a-z0-9]{1,30}$/', $b))) return null; # Check if directory exists