Vergleich xmlhttp.php - 1.8.27 - 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 385Zeile 385
		$updatepost = array(
"pid" => $post['pid'],
"tid" => $thread['tid'],

		$updatepost = array(
"pid" => $post['pid'],
"tid" => $thread['tid'],

 
			"fid" => $forum['fid'],

			"prefix" => $thread['prefix'],
"subject" => $subject,
"edit_uid" => $mybb->user['uid']

			"prefix" => $thread['prefix'],
"subject" => $subject,
"edit_uid" => $mybb->user['uid']

Zeile 646Zeile 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 991Zeile 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);