Vergleich admin/modules/style/templates.php - 1.8.29 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1435Zeile 1435
	$set = $db->fetch_array($query);

// Does the template not exist?

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

// Does the template not exist?

	if(!$set['sid'])

	if(!$set)

	{
flash_message($lang->error_invalid_template_set, 'error');
admin_redirect("index.php?module=style-templates");

	{
flash_message($lang->error_invalid_template_set, 'error');
admin_redirect("index.php?module=style-templates");

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