forked from GithubBackups/vichan
Bug: Banners weren't displaying if board was over 10 chars long
This commit is contained in:
parent
802dd12c7c
commit
47aa1a520d
@ -8,7 +8,7 @@ header("Expires: 0");
|
|||||||
|
|
||||||
function get_custom_banner(&$b) {
|
function get_custom_banner(&$b) {
|
||||||
# Validate the board name
|
# 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;
|
return null;
|
||||||
|
|
||||||
# Check if directory exists
|
# Check if directory exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user