Vergleich xmlhttp.php - 1.8.34 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 89Zeile 89
	$query = $db->simple_select('themes', 'name, tid, properties, allowedgroups', $loadstyle, array('limit' => 1));
$theme = $db->fetch_array($query);


	$query = $db->simple_select('themes', 'name, tid, properties, allowedgroups', $loadstyle, array('limit' => 1));
$theme = $db->fetch_array($query);


	if(isset($theme['tid']) && !is_member($theme['allowedgroups']) && $theme['allowedgroups'] != 'all')

	if($theme && !is_member($theme['allowedgroups']) && $theme['allowedgroups'] != 'all')

	{
if(isset($mybb->cookies['mybbtheme']))
{

	{
if(isset($mybb->cookies['mybbtheme']))
{

Zeile 647Zeile 647
		header("Content-type: application/json; charset={$charset}");

$editedmsg_response = null;

		header("Content-type: application/json; charset={$charset}");

$editedmsg_response = null;

		if($editedmsg)

		if(!empty($editedmsg))

		{
$editedmsg_response = str_replace(array("\r", "\n"), "", $editedmsg);
}

		{
$editedmsg_response = str_replace(array("\r", "\n"), "", $editedmsg);
}

Zeile 992Zeile 992

$plugins->run_hooks("xmlhttp_username_availability");



$plugins->run_hooks("xmlhttp_username_availability");


	if(!empty($user['uid']))

	if($user)

	{
$lang->username_taken = $lang->sprintf($lang->username_taken, htmlspecialchars_uni($username));
echo json_encode($lang->username_taken);

	{
$lang->username_taken = $lang->sprintf($lang->username_taken, htmlspecialchars_uni($username));
echo json_encode($lang->username_taken);