Vergleich report.php - 1.8.27 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 67Zeile 67
		// Check for a valid forum
$forum = get_forum($post['fid']);


		// Check for a valid forum
$forum = get_forum($post['fid']);


		if(!isset($forum['fid']))

		if(!$forum)

		{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

		{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

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


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


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

	if(!$user)

	{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}

	{
$error = $lang->sprintf($lang->error_invalid_report, $report_type);
}