Vergleich archive/global.php - 1.8.34 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 113Zeile 113
			WHERE a.aid='{$id}' AND startdate < '{$time}'  AND (enddate > '{$time}' OR enddate = 0)
");
$announcement = $db->fetch_array($query);

			WHERE a.aid='{$id}' AND startdate < '{$time}'  AND (enddate > '{$time}' OR enddate = 0)
");
$announcement = $db->fetch_array($query);

		if(!$announcement['aid'])

		if(!$announcement)

		{
$action = "404";
}

		{
$action = "404";
}

Zeile 122Zeile 122
	{
$query = $db->simple_select("threads", "*", "tid='{$id}' AND closed NOT LIKE 'moved|%'");
$thread = $db->fetch_array($query);

	{
$query = $db->simple_select("threads", "*", "tid='{$id}' AND closed NOT LIKE 'moved|%'");
$thread = $db->fetch_array($query);

		if(!$thread['tid'])

		if(!$thread)

		{
$action = "404";
}

		{
$action = "404";
}

Zeile 131Zeile 131
	{
$query = $db->simple_select("forums", "*", "fid='{$id}' AND active!=0 AND password=''");
$forum = $db->fetch_array($query);

	{
$query = $db->simple_select("forums", "*", "fid='{$id}' AND active!=0 AND password=''");
$forum = $db->fetch_array($query);

		if(!$forum['fid'])

		if(!$forum)

		{
$action = "404";
}

		{
$action = "404";
}