phpBB

Code Changes

File: includes/ucp/ucp_pm_viewfolder.php

  Unmodified   Added   Modified   Removed
Line 114Line 114
		);

// Okay, lets dump out the page ...

		);

// Okay, lets dump out the page ...

		if (sizeof($folder_info['pm_list']))

		if (count($folder_info['pm_list']))

		{
$address_list = array();


		{
$address_list = array();


Line 236Line 236
				$_types = array('u', 'g');
foreach ($_types as $ug_type)
{

				$_types = array('u', 'g');
foreach ($_types as $ug_type)
{

					if (isset($address_temp[$message_id][$ug_type]) && sizeof($address_temp[$message_id][$ug_type]))

					if (isset($address_temp[$message_id][$ug_type]) && count($address_temp[$message_id][$ug_type]))

					{
if (!isset($address[$message_id][$ug_type]))
{

					{
if (!isset($address[$message_id][$ug_type]))
{

Line 269Line 269

// There is the chance that all recipients of the message got deleted. To avoid creating
// exports without recipients, we add a bogus "undisclosed recipient".


// There is the chance that all recipients of the message got deleted. To avoid creating
// exports without recipients, we add a bogus "undisclosed recipient".

				if (!(isset($address[$message_id]['g']) && sizeof($address[$message_id]['g'])) &&
!(isset($address[$message_id]['u']) && sizeof($address[$message_id]['u'])))

				if (!(isset($address[$message_id]['g']) && count($address[$message_id]['g'])) &&
!(isset($address[$message_id]['u']) && count($address[$message_id]['u'])))

				{
$address[$message_id]['u'] = array();
$address[$message_id]['u']['to'] = array();

				{
$address[$message_id]['u'] = array();
$address[$message_id]['u']['to'] = array();