mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 01:34:31 +01:00
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) {
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user