phpBB

Code Changes

File: phpbb/message/message.php

  Unmodified   Added   Modified   Removed
Line 209Line 209
	*/
public function cc_sender()
{

	*/
public function cc_sender()
{

		if (!sizeof($this->recipients))

		if (!count($this->recipients))

		{
trigger_error('No email recipients specified');
}

		{
trigger_error('No email recipients specified');
}

Line 238Line 238
	*/
public function send(\messenger $messenger, $contact)
{

	*/
public function send(\messenger $messenger, $contact)
{

		if (!sizeof($this->recipients))

		if (!count($this->recipients))

		{
return;
}

		{
return;
}

Line 271Line 271
				'MESSAGE'		=> htmlspecialchars_decode($this->body))
);


				'MESSAGE'		=> htmlspecialchars_decode($this->body))
);


			if (sizeof($this->template_vars))

			if (count($this->template_vars))

			{
$messenger->assign_vars($this->template_vars);
}

			{
$messenger->assign_vars($this->template_vars);
}