summaryrefslogtreecommitdiff
path: root/mod.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-19 19:37:39 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-19 19:37:39 +1100
commit3b17f32047ad9b72cb0f2ad95c0fa2af3a362314 (patch)
treea84aebf516c7a5d9978be6f07eb070f67c391961 /mod.php
parent3e9e51b1e7ac8375976c54e305de0c04a48c575e (diff)
increased board uri/title/subtitle character limits
Diffstat (limited to 'mod.php')
-rw-r--r--mod.php6
1 files changed, 3 insertions, 3 deletions
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']))