Vergleich inc/functions_modcp.php - 1.8.0 - 1.8.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 74Zeile 74
	{
foreach($children as $forum)
{

	{
foreach($children as $forum)
{

			if($forum['linkto'] || ($unviewableforums && in_array($forum['fid'], $unviewableforums)))

			if($forum['linkto'] || (is_array($unviewableforums) && in_array($forum['fid'], $unviewableforums)))

			{
continue;
}

			{
continue;
}

Zeile 82Zeile 82
			if($forum['active'] == 0 || !is_moderator($forum['fid'], "canmanageannouncements"))
{
// Check if this forum is a parent of a moderated forum

			if($forum['active'] == 0 || !is_moderator($forum['fid'], "canmanageannouncements"))
{
// Check if this forum is a parent of a moderated forum

				if(in_array($forum['fid'], $parent_forums))

				if(is_array($parent_forums) && in_array($forum['fid'], $parent_forums))

				{
// A child is moderated, so print out this forum's title. RECURSE!
$trow = alt_trow();

				{
// A child is moderated, so print out this forum's title. RECURSE!
$trow = alt_trow();