aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-10-14 15:19:47 +0200
committerJoas Schilling <nickvergessen@gmx.de>2011-10-14 15:19:47 +0200
commite40abfbde9f83c3c2c24a456fc7fe4765766859f (patch)
treee9f40a5a4b1fc9bb245cf7c66c8ad19df8f311e3 /phpBB/includes/acp
parent86f8851c403bb9f31b43a9656e844e5c925da19a (diff)
downloadforums-e40abfbde9f83c3c2c24a456fc7fe4765766859f.tar
forums-e40abfbde9f83c3c2c24a456fc7fe4765766859f.tar.gz
forums-e40abfbde9f83c3c2c24a456fc7fe4765766859f.tar.bz2
forums-e40abfbde9f83c3c2c24a456fc7fe4765766859f.tar.xz
forums-e40abfbde9f83c3c2c24a456fc7fe4765766859f.zip
[ticket/9525] Minimum post length 0 is accepted but not working.
PHPBB3-9525
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_board.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index d8ab42ed2d..3ed5f40368 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -188,7 +188,7 @@ class acp_board
'hot_threshold' => array('lang' => 'HOT_THRESHOLD', 'validate' => 'int:0', 'type' => 'text:3:4', 'explain' => true),
'max_poll_options' => array('lang' => 'MAX_POLL_OPTIONS', 'validate' => 'int:2:127', 'type' => 'text:4:4', 'explain' => false),
'max_post_chars' => array('lang' => 'CHAR_LIMIT', 'validate' => 'int:0', 'type' => 'text:4:6', 'explain' => true),
- 'min_post_chars' => array('lang' => 'MIN_CHAR_LIMIT', 'validate' => 'int:0', 'type' => 'text:4:6', 'explain' => true),
+ 'min_post_chars' => array('lang' => 'MIN_CHAR_LIMIT', 'validate' => 'int:1', 'type' => 'text:4:6', 'explain' => true),
'max_post_smilies' => array('lang' => 'SMILIES_LIMIT', 'validate' => 'int:0', 'type' => 'text:4:4', 'explain' => true),
'max_post_urls' => array('lang' => 'MAX_POST_URLS', 'validate' => 'int:0', 'type' => 'text:5:4', 'explain' => true),
'max_post_font_size' => array('lang' => 'MAX_POST_FONT_SIZE', 'validate' => 'int:0', 'type' => 'text:5:4', 'explain' => true, 'append' => ' %'),