Vergleich member.php - 1.6.16 - 1.6.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1067Zeile 1067
	}
if($mybb->input['code'] && $user['uid'])
{

	}
if($mybb->input['code'] && $user['uid'])
{

		$query = $db->simple_select("awaitingactivation", "*", "uid='".$user['uid']."' AND type='p'");
$activation = $db->fetch_array($query);

		$query = $db->simple_select("awaitingactivation", "code", "uid='".$user['uid']."' AND type='p'");
$activationcode = $db->fetch_field($query, 'code');

		$now = TIME_NOW;

		$now = TIME_NOW;

		if($activation['code'] != $mybb->input['code'])

		if(!$activationcode || $activationcode != $mybb->input['code'])

		{
error($lang->error_badlostpwcode);
}

		{
error($lang->error_badlostpwcode);
}