mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-26 21:15:21 +02:00
Revert "[ticket/7716] Data too long for column 'message_subject'"
This reverts commit 91a60aa878
.
This commit is contained in:
@ -1316,10 +1316,6 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true)
|
|||||||
// Recipient Information
|
// Recipient Information
|
||||||
$recipients = $to = $bcc = array();
|
$recipients = $to = $bcc = array();
|
||||||
|
|
||||||
// First of all make sure the subject 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);
|
|
||||||
|
|
||||||
if ($mode != 'edit')
|
if ($mode != 'edit')
|
||||||
{
|
{
|
||||||
// Build Recipient List
|
// Build Recipient List
|
||||||
|
Reference in New Issue
Block a user