mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
prevent posting empty messages with some UTF8-characters as well as fixing conversion in CVS.
git-svn-id: file:///svn/phpbb/trunk@8163 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -596,7 +596,7 @@ if (!$get_info)
|
||||
'autoincrement' => 'post_id',
|
||||
'query_first' => array('target', $convert->truncate_statement . POSTS_TABLE),
|
||||
'execute_first' => '
|
||||
$config["max_post_chars"] = -1;
|
||||
$config["max_post_chars"] = 0;
|
||||
$config["max_quote_depth"] = 0;
|
||||
',
|
||||
|
||||
@@ -645,7 +645,7 @@ if (!$get_info)
|
||||
),
|
||||
|
||||
'execute_first' => '
|
||||
$config["max_post_chars"] = -1;
|
||||
$config["max_post_chars"] = 0;
|
||||
$config["max_quote_depth"] = 0;
|
||||
',
|
||||
|
||||
|
@@ -612,7 +612,7 @@ class install_convert extends module
|
||||
$config['max_quote_depth'] = 0;
|
||||
|
||||
// @todo Need to confirm that max post length in source is <= max post length in destination or there may be interesting formatting issues
|
||||
$config['max_post_chars'] = -1;
|
||||
$config['max_post_chars'] = 0;
|
||||
|
||||
// Set up a user as well. We _should_ have enough of a database here at this point to do this
|
||||
// and it helps for any core code we call
|
||||
@@ -990,7 +990,7 @@ class install_convert extends module
|
||||
$config['max_quote_depth'] = 0;
|
||||
|
||||
// @todo Need to confirm that max post length in source is <= max post length in destination or there may be interesting formatting issues
|
||||
$config['max_post_chars'] = -1;
|
||||
$config['max_post_chars'] = 0;
|
||||
}
|
||||
|
||||
$template->assign_block_vars('checks', array(
|
||||
|
Reference in New Issue
Block a user