Vergleich report.php - 1.8.0 - 1.8.7

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 31Zeile 31

if(!empty($mybb->input['type']))
{


if(!empty($mybb->input['type']))
{

	$report_type = $mybb->get_input('type');

	$report_type = htmlspecialchars_uni($mybb->get_input('type'));

}

$report_title = $lang->report_content;

}

$report_title = $lang->report_content;

Zeile 51Zeile 51
	}

// Do we have a valid post?

	}

// Do we have a valid post?

	$post = get_post($mybb->get_input('pid', 1));

	$post = get_post($mybb->get_input('pid', MyBB::INPUT_INT));


if(!$post)
{


if(!$post)
{

Zeile 82Zeile 82
}
else if($report_type == 'profile')
{

}
else if($report_type == 'profile')
{

	$user = get_user($mybb->get_input('pid', 1));

	$user = get_user($mybb->get_input('pid', MyBB::INPUT_INT));


if(!isset($user['uid']))
{


if(!isset($user['uid']))
{

Zeile 108Zeile 108
else if($report_type == 'reputation')
{
// Any member can report a reputation comment but let's make sure it exists first

else if($report_type == 'reputation')
{
// Any member can report a reputation comment but let's make sure it exists first

	$query = $db->simple_select("reputation", "*", "rid = '".$mybb->get_input('pid', 1)."'");

	$query = $db->simple_select("reputation", "*", "rid = '".$mybb->get_input('pid', MyBB::INPUT_INT)."'");


if(!$db->num_rows($query))
{


if(!$db->num_rows($query))
{