Vergleich inc/datahandlers/user.php - 1.8.4 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 177Zeile 177
		}

// Has the user tried to use their email address or username as a password?

		}

// Has the user tried to use their email address or username as a password?

		if($user['email'] == $user['password'] || $user['username'] == $user['password'])

		if($user['email'] === $user['password'] || $user['username'] === $user['password'])

		{
$this->set_error('bad_password_security');
return false;

		{
$this->set_error('bad_password_security');
return false;

Zeile 196Zeile 196
		}

// If we have a "password2" check if they both match

		}

// If we have a "password2" check if they both match

		if(isset($user['password2']) && $user['password'] != $user['password2'])

		if(isset($user['password2']) && $user['password'] !== $user['password2'])

		{
$this->set_error("passwords_dont_match");
return false;

		{
$this->set_error("passwords_dont_match");
return false;

Zeile 649Zeile 649
		$this->verify_yesno_option($options, 'showquickreply', 1);
$this->verify_yesno_option($options, 'showredirect', 1);
$this->verify_yesno_option($options, 'showcodebuttons', 1);

		$this->verify_yesno_option($options, 'showquickreply', 1);
$this->verify_yesno_option($options, 'showredirect', 1);
$this->verify_yesno_option($options, 'showcodebuttons', 1);

		$this->verify_yesno_option($options, 'sourceeditor', 1);



		$this->verify_yesno_option($options, 'sourceeditor', 0);
$this->verify_yesno_option($options, 'buddyrequestspm', 1);
$this->verify_yesno_option($options, 'buddyrequestsauto', 0);


if($mybb->settings['postlayout'] == 'classic')
{


if($mybb->settings['postlayout'] == 'classic')
{

Zeile 1059Zeile 1061
			"google" => $db->escape_string($user['google']),
"birthday" => $user['bday'],
"signature" => $db->escape_string($user['signature']),

			"google" => $db->escape_string($user['google']),
"birthday" => $user['bday'],
"signature" => $db->escape_string($user['signature']),

			"allownotices" => $user['options']['allownotices'],
"hideemail" => $user['options']['hideemail'],

			"allownotices" => (int)$user['options']['allownotices'],
"hideemail" => (int)$user['options']['hideemail'],

			"subscriptionmethod" => (int)$user['options']['subscriptionmethod'],

			"subscriptionmethod" => (int)$user['options']['subscriptionmethod'],

			"receivepms" => $user['options']['receivepms'],
"receivefrombuddy" => $user['options']['receivefrombuddy'],
"pmnotice" => $user['options']['pmnotice'],
"pmnotify" => $user['options']['pmnotify'],
"showimages" => $user['options']['showimages'],
"showvideos" => $user['options']['showvideos'],
"showsigs" => $user['options']['showsigs'],
"showavatars" => $user['options']['showavatars'],
"showquickreply" => $user['options']['showquickreply'],
"showredirect" => $user['options']['showredirect'],

			"receivepms" => (int)$user['options']['receivepms'],
"receivefrombuddy" => (int)$user['options']['receivefrombuddy'],
"pmnotice" => (int)$user['options']['pmnotice'],
"pmnotify" => (int)$user['options']['pmnotify'],
"showimages" => (int)$user['options']['showimages'],
"showvideos" => (int)$user['options']['showvideos'],
"showsigs" => (int)$user['options']['showsigs'],
"showavatars" => (int)$user['options']['showavatars'],
"showquickreply" => (int)$user['options']['showquickreply'],
"showredirect" => (int)$user['options']['showredirect'],

			"tpp" => (int)$user['options']['tpp'],
"ppp" => (int)$user['options']['ppp'],

			"tpp" => (int)$user['options']['tpp'],
"ppp" => (int)$user['options']['ppp'],

			"invisible" => $user['options']['invisible'],

			"invisible" => (int)$user['options']['invisible'],

			"style" => (int)$user['style'],
"timezone" => $db->escape_string($user['timezone']),
"dstcorrection" => (int)$user['options']['dstcorrection'],

			"style" => (int)$user['style'],
"timezone" => $db->escape_string($user['timezone']),
"dstcorrection" => (int)$user['options']['dstcorrection'],

Zeile 1084Zeile 1086
			"timeformat" => $db->escape_string($user['timeformat']),
"regip" => $db->escape_binary($user['regip']),
"language" => $db->escape_string($user['language']),

			"timeformat" => $db->escape_string($user['timeformat']),
"regip" => $db->escape_binary($user['regip']),
"language" => $db->escape_string($user['language']),

			"showcodebuttons" => $user['options']['showcodebuttons'],
"sourceeditor" => $user['options']['sourceeditor'],
"away" => $user['away']['away'],
"awaydate" => $user['away']['date'],



			"showcodebuttons" => (int)$user['options']['showcodebuttons'],
"sourceeditor" => (int)$user['options']['sourceeditor'],
"buddyrequestspm" => (int)$user['options']['buddyrequestspm'],
"buddyrequestsauto" => (int)$user['options']['buddyrequestsauto'],
"away" => (int)$user['away']['away'],
"awaydate" => (int)$user['away']['date'],

			"returndate" => $user['away']['returndate'],
"awayreason" => $db->escape_string($user['away']['awayreason']),
"notepad" => $db->escape_string($user['notepad']),

			"returndate" => $user['away']['returndate'],
"awayreason" => $db->escape_string($user['away']['awayreason']),
"notepad" => $db->escape_string($user['notepad']),

Zeile 1103Zeile 1107
			"suspendposting" => 0,
"suspensiontime" => 0,
"coppauser" => (int)$user['coppa_user'],

			"suspendposting" => 0,
"suspensiontime" => 0,
"coppauser" => (int)$user['coppa_user'],

			"classicpostbit" => $user['options']['classicpostbit'],

			"classicpostbit" => (int)$user['options']['classicpostbit'],

			"usernotes" => ''
);


			"usernotes" => ''
);