Vergleich inc/functions_search.php - 1.6.3 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: functions_search.php 5448 2011-04-16 16:42:29Z Tomm $

 * $Id: functions_search.php 5458 2011-05-01 21:12:31Z jammerx2 $

 */

/**

 */

/**

Zeile 899Zeile 899
	$onlyusfids = array();

// Check group permissions if we can't view threads not started by us

	$onlyusfids = array();

// Check group permissions if we can't view threads not started by us

	$group_permissions = forum_permissions();
foreach($group_permissions as $fid => $forum_permissions)

	if($group_permissions = forum_permissions())


	{

	{

		if($forum_permissions['canonlyviewownthreads'] == 1)

		foreach($group_permissions as $fid => $forum_permissions)

		{

		{

			$onlyusfids[] = $fid;




			if($forum_permissions['canonlyviewownthreads'] == 1)
{
$onlyusfids[] = $fid;
}

		}
}
if(!empty($onlyusfids))

		}
}
if(!empty($onlyusfids))