Vergleich calendar.php - 1.8.14 - 1.8.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1665Zeile 1665
	}

// Incoming year?

	}

// Incoming year?

	if(isset($mybb->input['year']) && $mybb->get_input('year', MyBB::INPUT_INT) <= my_date("Y")+5)

	if(isset($mybb->input['year']) && $mybb->get_input('year', MyBB::INPUT_INT) <= my_date("Y")+5 && $mybb->get_input('year', MyBB::INPUT_INT) >= 1901)

	{
$year = $mybb->get_input('year', MyBB::INPUT_INT);
}

	{
$year = $mybb->get_input('year', MyBB::INPUT_INT);
}

Zeile 2029Zeile 2029
	else
{
$mybb->input['week'] = (int)str_replace("n", "-", $mybb->get_input('week'));

	else
{
$mybb->input['week'] = (int)str_replace("n", "-", $mybb->get_input('week'));

		// No negative years please ;)
if($mybb->input['week'] < -62167219200)

		// Nothing before 1901 please ;)
if($mybb->input['week'] < -2177625600)

		{

		{

			$mybb->input['week'] = -62167219200;

			$mybb->input['week'] = -2177625600;

		}
}


		}
}