Vergleich archive/index.php - 1.8.32 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 26Zeile 26
		if($announcement['fid'] != -1)
{
$forum = get_forum($announcement['fid']);

		if($announcement['fid'] != -1)
{
$forum = get_forum($announcement['fid']);

			if(!$forum['fid'] || $forum['password'] !== '')

			if(!$forum || $forum['password'] !== '')

			{
archive_error($lang->error_invalidforum);
}

			{
archive_error($lang->error_invalidforum);
}

Zeile 80Zeile 80

// Fetch the forum this thread is in
$forum = get_forum($thread['fid']);


// Fetch the forum this thread is in
$forum = get_forum($thread['fid']);

		if(!$forum['fid'] || $forum['password'] !== '')

		if(!$forum || $forum['password'] !== '')

		{
archive_error($lang->error_invalidforum);
}

		{
archive_error($lang->error_invalidforum);
}