phpBB

Code Changes

File: includes/ucp/ucp_pm_viewfolder.php

  Unmodified   Added   Modified   Removed
Line 39Line 39
		// Grab icons
$icons = $cache->obtain_icons();


		// Grab icons
$icons = $cache->obtain_icons();


		$color_rows = array('marked', 'replied');

		$color_rows = array('message_reported', 'marked', 'replied');


$_module = new p_master();
$_module->list_modules('ucp');


$_module = new p_master();
$_module->list_modules('ucp');

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;