From 3b17f32047ad9b72cb0f2ad95c0fa2af3a362314 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Sun, 19 Feb 2012 19:37:39 +1100 Subject: increased board uri/title/subtitle character limits --- mod.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod.php') diff --git a/mod.php b/mod.php index f8d624e8..357d5f51 100644 --- a/mod.php +++ b/mod.php @@ -2024,11 +2024,11 @@ error(sprintf($config['error']['required'], 'title')); // Check string lengths - if(mb_strlen($b['uri']) > 8) + if(mb_strlen($b['uri']) > 15) error(sprintf($config['error']['toolong'], 'URI')); - if(mb_strlen($b['title']) > 20) + if(strlen($b['title']) > 40) error(sprintf($config['error']['toolong'], 'title')); - if(mb_strlen($b['subtitle']) > 40) + if(strlen($b['subtitle']) > 120) error(sprintf($config['error']['toolong'], 'subtitle')); if(!preg_match('/^\w+$/', $b['uri'])) -- cgit v1.3