Vergleich inc/functions_archive.php - 1.8.2 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 227Zeile 227
 */
function check_forum_password_archive($fid, $pid=0)
{

 */
function check_forum_password_archive($fid, $pid=0)
{

	global $forum_cache;

	global $forum_cache, $mybb;


if(!is_array($forum_cache))
{


if(!is_array($forum_cache))
{

Zeile 260Zeile 260
	$password = $forum_cache[$fid]['password'];
if($password)
{

	$password = $forum_cache[$fid]['password'];
if($password)
{

		if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) != $mybb->cookies['forumpass'][$fid]))

		if(!$mybb->cookies['forumpass'][$fid] || ($mybb->cookies['forumpass'][$fid] && md5($mybb->user['uid'].$password) !== $mybb->cookies['forumpass'][$fid]))

		{
archive_error_no_permission();
}
}
}

		{
archive_error_no_permission();
}
}
}

?>