mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 21:08:53 +00:00
[ticket/7716] Data too long for column 'message_subject'
PHPBB3-7716
This commit is contained in:
parent
64e6faa877
commit
2455a744e6
1 changed files with 3 additions and 0 deletions
|
@ -1380,6 +1380,9 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true)
|
|||
}
|
||||
}
|
||||
|
||||
// First of all make sure the subject are having the correct length.
|
||||
$subject = truncate_string($subject);
|
||||
|
||||
$db->sql_transaction('begin');
|
||||
|
||||
$sql = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue