Vergleich modcp.php - 1.6.0 - 1.6.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1622Zeile 1622
	$errors = '';

// Validate the user and get any errors that might have occurred.

	$errors = '';

// Validate the user and get any errors that might have occurred.

 
	$userhandler->admin_override = true;

	if(!$userhandler->validate_user())
{
$errors = $userhandler->get_friendly_errors();

	if(!$userhandler->validate_user())
{
$errors = $userhandler->get_friendly_errors();

Zeile 1798Zeile 1799
		$mybb->input[$field] = htmlspecialchars_uni($mybb->input[$field]);
}


		$mybb->input[$field] = htmlspecialchars_uni($mybb->input[$field]);
}


	if($mybb->usergroup['usertitle'] == "")

	if($user['usertitle'] == "")

	{
$query = $db->simple_select("usertitles", "*", "posts <='".$user['postnum']."'", array('order_by' => 'posts', 'order_dir' => 'DESC', 'limit' => 1));
$utitle = $db->fetch_array($query);

	{
$query = $db->simple_select("usertitles", "*", "posts <='".$user['postnum']."'", array('order_by' => 'posts', 'order_dir' => 'DESC', 'limit' => 1));
$utitle = $db->fetch_array($query);