Vergleich modcp.php - 1.8.4 - 1.8.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 1574Zeile 1574
	add_breadcrumb($lang->edit_announcement, "modcp.php?action=edit_announcements&aid={$aid}");

// Get announcement

	add_breadcrumb($lang->edit_announcement, "modcp.php?action=edit_announcements&aid={$aid}");

// Get announcement

	if(!isset($announcement))

	if(!isset($announcement) || $mybb->request_method != 'post')

	{
$query = $db->simple_select("announcements", "*", "aid='{$aid}'");
$announcement = $db->fetch_array($query);

	{
$query = $db->simple_select("announcements", "*", "aid='{$aid}'");
$announcement = $db->fetch_array($query);

Zeile 2723Zeile 2723

foreach($usertitles as $title)
{


foreach($usertitles as $title)
{

			if($title['posts'] <= $mybb->user['postnum'])

			if($title['posts'] <= $user['postnum'])

			{
$defaulttitle = $title['title'];

			{
$defaulttitle = $title['title'];

 
				break;

			}
}
}

			}
}
}

Zeile 2891Zeile 2892
						$val = str_replace("\n", "\\n", $val);

$sel = "";

						$val = str_replace("\n", "\\n", $val);

$sel = "";

						if($val == $seloptions[$val])

						if(isset($seloptions[$val]) && $val == $seloptions[$val])

						{
$sel = " selected=\"selected\"";
}

						{
$sel = " selected=\"selected\"";
}

Zeile 2971Zeile 2972
					foreach($expoptions as $key => $val)
{
$checked = "";

					foreach($expoptions as $key => $val)
{
$checked = "";

						if($val == $seloptions[$val])

						if(isset($seloptions[$val]) && $val == $seloptions[$val])

						{
$checked = " checked=\"checked\"";
}

						{
$checked = " checked=\"checked\"";
}