Vergleich admin/modules/forum/attachments.php - 1.8.32 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 78Zeile 78
	{
require_once MYBB_ROOT."inc/functions_upload.php";


	{
require_once MYBB_ROOT."inc/functions_upload.php";


		$query = $db->simple_select("attachments", "aid,pid,posthash, filename", "aid IN (".implode(",", $mybb->input['aids']).")");

		$query = $db->simple_select("attachments", "aid,pid,posthash,filename", "aid IN (".implode(",", $mybb->input['aids']).")");

		while($attachment = $db->fetch_array($query))
{
if(!$attachment['pid'])

		while($attachment = $db->fetch_array($query))
{
if(!$attachment['pid'])

Zeile 697Zeile 697
		{
$user = get_user_by_username($mybb->input['username']);


		{
$user = get_user_by_username($mybb->input['username']);


			if(!$user['uid'])

			if(!$user)

			{
if($user_types == 1)
{

			{
if($user_types == 1)
{

Zeile 883Zeile 883
						$pagination_url .= "&{$var}=".urlencode($mybb->input[$var]);
}
}

						$pagination_url .= "&{$var}=".urlencode($mybb->input[$var]);
}
}

				if(is_array($mybb->input['forum']) && !empty($mybb->input['forum']))

				if(!empty($mybb->input['forum']) && is_array($mybb->input['forum']))

				{
foreach($mybb->input['forum'] as $fid)
{

				{
foreach($mybb->input['forum'] as $fid)
{