Vergleich admin/modules/user/mass_mail.php - 1.8.34 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 47Zeile 47

$query = $db->simple_select("massemails", "*", "mid='".$mybb->get_input('mid', MyBB::INPUT_INT)."'");
$email = $db->fetch_array($query);


$query = $db->simple_select("massemails", "*", "mid='".$mybb->get_input('mid', MyBB::INPUT_INT)."'");
$email = $db->fetch_array($query);

	if(!$email['mid'])

	if(!$email)

	{
flash_message($lang->error_invalid_mid, 'error');
admin_redirect("index.php?module=user-mass_mail");

	{
flash_message($lang->error_invalid_mid, 'error');
admin_redirect("index.php?module=user-mass_mail");

Zeile 300Zeile 300
	echo $form->generate_hidden_field("mid", $email['mid']);

$mid_add = '';

	echo $form->generate_hidden_field("mid", $email['mid']);

$mid_add = '';

	if($email['mid'])

	if(!empty($email['mid']))

	{
$mid_add = "&mid={$email['mid']}";
}

	{
$mid_add = "&mid={$email['mid']}";
}

Zeile 632Zeile 632
	{
$query = $db->simple_select("massemails", "*", "status=0 and mid='".$mybb->get_input('mid', MyBB::INPUT_INT)."'");
$email = $db->fetch_array($query);

	{
$query = $db->simple_select("massemails", "*", "status=0 and mid='".$mybb->get_input('mid', MyBB::INPUT_INT)."'");
$email = $db->fetch_array($query);

		if(empty($email['mid']) && $mybb->input['step'] != 1)

		if(!$email && $mybb->input['step'] != 1)

		{
flash_message($lang->error_invalid_mid, 'error');
admin_redirect("index.php?module=user-mass_mail");

		{
flash_message($lang->error_invalid_mid, 'error');
admin_redirect("index.php?module=user-mass_mail");

Zeile 1283Zeile 1283

if($mybb->get_input('format') == 2)
{


if($mybb->get_input('format') == 2)
{

			if($mybb->get_input('automatic_text') && !$email['mid'])

			if($mybb->get_input('automatic_text') && empty($email['mid']))

			{
$automatic_text_check = true;
$text_display = 'display: none';

			{
$automatic_text_check = true;
$text_display = 'display: none';