Преглед изворни кода

Removed the last two limitations to the newsletters stored in the mail queue that could truncate the text of the mail - Thanks luuuciano for the report [Topic 475308]

Signed-off-by: emanuele <[email protected]>
emanuele пре 12 година
родитељ
комит
e07bfa90a0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Sources/Subs-Post.php

+ 2 - 2
Sources/Subs-Post.php

@@ -718,7 +718,7 @@ function AddMailQueue($flush = false, $to_array = array(), $subject = '', $messa
 		$smcFunc['db_insert']('',
 			'{db_prefix}mail_queue',
 			array(
-				'time_sent' => 'int', 'recipient' => 'string-255', 'body' => 'string-65534', 'subject' => 'string-255',
+				'time_sent' => 'int', 'recipient' => 'string-255', 'body' => 'string', 'subject' => 'string-255',
 				'headers' => 'string-65534', 'send_html' => 'int', 'priority' => 'int', 'private' => 'int',
 			),
 			$cur_insert,
@@ -764,7 +764,7 @@ function AddMailQueue($flush = false, $to_array = array(), $subject = '', $messa
 			$smcFunc['db_insert']('',
 				'{db_prefix}mail_queue',
 				array(
-					'time_sent' => 'int', 'recipient' => 'string-255', 'body' => 'string-65534', 'subject' => 'string-255',
+					'time_sent' => 'int', 'recipient' => 'string-255', 'body' => 'string', 'subject' => 'string-255',
 					'headers' => 'string-65534', 'send_html' => 'int', 'priority' => 'int', 'private' => 'int',
 				),
 				$cur_insert,