Vergleich member.php - 1.8.27 - 1.8.31

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 839Zeile 839
				$ref['username'] = htmlspecialchars_uni($ref['username']);
$referrername = $ref['username'];
}

				$ref['username'] = htmlspecialchars_uni($ref['username']);
$referrername = $ref['username'];
}

			elseif(isset($referrer))

			elseif(!empty($referrer))

			{
$query = $db->simple_select("users", "username", "uid='".(int)$referrer['uid']."'");
$ref = $db->fetch_array($query);

			{
$query = $db->simple_select("users", "username", "uid='".(int)$referrer['uid']."'");
$ref = $db->fetch_array($query);

Zeile 901Zeile 901
				$code = $select = $val = $options = $expoptions = $useropts = '';
$seloptions = array();
$profilefield['type'] = htmlspecialchars_uni($profilefield['type']);

				$code = $select = $val = $options = $expoptions = $useropts = '';
$seloptions = array();
$profilefield['type'] = htmlspecialchars_uni($profilefield['type']);

				$thing = explode("\n", $profilefield['type'], "2");

				$thing = explode("\n", $profilefield['type'], 2);

				$type = trim($thing[0]);

				$type = trim($thing[0]);

				$options = $thing[1];

				$options = isset($thing[1]) ? $thing[1] : null;

				$select = '';
$field = "fid{$profilefield['fid']}";
$profilefield['description'] = htmlspecialchars_uni($profilefield['description']);

				$select = '';
$field = "fid{$profilefield['fid']}";
$profilefield['description'] = htmlspecialchars_uni($profilefield['description']);

Zeile 1789Zeile 1789
		$errors = $loginhandler->get_friendly_errors();

// If we need a captcha set it here

		$errors = $loginhandler->get_friendly_errors();

// If we need a captcha set it here

		if($mybb->settings['failedcaptchalogincount'] > 0 && (isset($user['loginattempts']) && $user['loginattempts'] > $mybb->settings['failedcaptchalogincount'] || (int)$mybb->cookies['loginattempts'] > $mybb->settings['failedcaptchalogincount']))













		if(
$mybb->settings['failedcaptchalogincount'] > 0 &&
(
(
isset($user['loginattempts']) &&
$user['loginattempts'] > $mybb->settings['failedcaptchalogincount']
) ||
(
isset($mybb->cookies['loginattempts']) &&
(int)$mybb->cookies['loginattempts'] > $mybb->settings['failedcaptchalogincount']
)
)
)

		{
$do_captcha = true;
$correct = $loginhandler->captcha_verified;

		{
$do_captcha = true;
$correct = $loginhandler->captcha_verified;