Vergleich inc/class_session.php - 1.8.37 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 357Zeile 357
		$mybb->user['moderateposts'] = 0;
$mybb->user['showquickreply'] = 1;
$mybb->user['signature'] = '';

		$mybb->user['moderateposts'] = 0;
$mybb->user['showquickreply'] = 1;
$mybb->user['signature'] = '';

 
		$mybb->user['sourceeditor'] = 0;
$mybb->user['subscriptionmethod'] = 0;

		$mybb->user['suspendposting'] = 0;

// Has this user visited before? Lastvisit need updating?

		$mybb->user['suspendposting'] = 0;

// Has this user visited before? Lastvisit need updating?

Zeile 371Zeile 373
			{
$mybb->user['lastactive'] = (int)$mybb->cookies['mybb']['lastactive'];
}

			{
$mybb->user['lastactive'] = (int)$mybb->cookies['mybb']['lastactive'];
}

			if($time - $mybb->cookies['mybb']['lastactive'] > 900)

			if($time - (int)$mybb->cookies['mybb']['lastactive'] > 900)

			{
my_setcookie("mybb[lastvisit]", $mybb->user['lastactive']);
$mybb->user['lastvisit'] = $mybb->user['lastactive'];

			{
my_setcookie("mybb[lastvisit]", $mybb->user['lastactive']);
$mybb->user['lastvisit'] = $mybb->user['lastactive'];