Vergleich admin/modules/style/templates.php - 1.8.30 - 1.8.31

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1531Zeile 1531
if($mybb->input['action'] == "diff_report")
{
// Compares a template of sid1 with that of sid2, if no sid1, it is assumed -2

if($mybb->input['action'] == "diff_report")
{
// Compares a template of sid1 with that of sid2, if no sid1, it is assumed -2

	if(!$mybb->input['sid1'] || !isset($template_sets[$mybb->input['sid1']]))

	if(empty($mybb->input['sid1']) || !isset($template_sets[$mybb->input['sid1']]))

	{
$mybb->input['sid1'] = -2;
}

	{
$mybb->input['sid1'] = -2;
}

Zeile 1550Zeile 1550
		admin_redirect("index.php?module=style-templates");
}


		admin_redirect("index.php?module=style-templates");
}


	if(!$mybb->input['from'])

	if(empty($mybb->input['from']))

	{
$mybb->input['from'] = 0;
}

	{
$mybb->input['from'] = 0;
}