phpBB

Code Changes

File: includes/acp/acp_logs.php

  Unmodified   Added   Modified   Removed
Line 57Line 57
			{
$conditions = array();


			{
$conditions = array();


				if ($deletemark && sizeof($marked))

				if ($deletemark && count($marked))

				{
$conditions['log_id'] = array('IN' => $marked);
}

				{
$conditions['log_id'] = array('IN' => $marked);
}

Line 151Line 151
		{
$data = array();


		{
$data = array();


			$checks = array('viewtopic', 'viewlogs', 'viewforum');

			$checks = array('viewpost', 'viewtopic', 'viewlogs', 'viewforum');

			foreach ($checks as $check)
{
if (isset($row[$check]) && $row[$check])

			foreach ($checks as $check)
{
if (isset($row[$check]) && $row[$check])

Line 167Line 167
				'IP'				=> $row['ip'],
'DATE' => $user->format_date($row['time']),
'ACTION' => $row['action'],

				'IP'				=> $row['ip'],
'DATE' => $user->format_date($row['time']),
'ACTION' => $row['action'],

				'DATA'				=> (sizeof($data)) ? implode(' | ', $data) : '',

				'DATA'				=> (count($data)) ? implode(' | ', $data) : '',

				'ID'				=> $row['id'],
)
);

				'ID'				=> $row['id'],
)
);