mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge PR #571 branch 'unknownbliss/ticket/10640' into develop
* unknownbliss/ticket/10640: [ticket/10640] Change subject length in mcp in subsilver [ticket/10640] Change subject length in MCP [ticket/10640] Do not change default value of truncate_string() [ticket/10640] Change maximum subject length
This commit is contained in:
@@ -1657,8 +1657,8 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
||||
|
||||
// First of all make sure the subject and topic title are having the correct length.
|
||||
// To achieve this without cutting off between special chars we convert to an array and then count the elements.
|
||||
$subject = truncate_string($subject);
|
||||
$data['topic_title'] = truncate_string($data['topic_title']);
|
||||
$subject = truncate_string($subject, 120);
|
||||
$data['topic_title'] = truncate_string($data['topic_title'], 120);
|
||||
|
||||
// Collect some basic information about which tables and which rows to update/insert
|
||||
$sql_data = $topic_row = array();
|
||||
|
Reference in New Issue
Block a user