Vergleich report.php - 1.8.25 - 1.8.37

  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);
}

Zeile 193Zeile 193
			$reason = $db->fetch_array($query);

$new_report['reasonid'] = $reason['rid'];

			$reason = $db->fetch_array($query);

$new_report['reasonid'] = $reason['rid'];

 
			$new_report['reason'] = '';


if($reason['extra'])
{


if($reason['extra'])
{

Zeile 274Zeile 275
		}
}


		}
}


	if($mybb->input['no_modal'])

	if($mybb->get_input('no_modal'))

	{
echo $report_reasons;
exit;

	{
echo $report_reasons;
exit;