phpBB

Code Changes

File: includes/ucp/ucp_pm_viewfolder.php

  Unmodified   Added   Modified   Removed
Line 138Line 138
				$row_indicator = '';
foreach ($color_rows as $var)
{

				$row_indicator = '';
foreach ($color_rows as $var)
{

					if (($var != 'friend' && $var != 'foe' && $row['pm_' . $var])

					if (($var !== 'friend' && $var !== 'foe' && $row[($var === 'message_reported') ? $var : "pm_{$var}"])

						||

						||

						(($var == 'friend' || $var == 'foe') && isset(${$var}[$row['author_id']]) && ${$var}[$row['author_id']]))

						(($var === 'friend' || $var === 'foe') && isset(${$var}[$row['author_id']]) && ${$var}[$row['author_id']]))

					{
$row_indicator = $var;
break;

					{
$row_indicator = $var;
break;