Zeile 47 | Zeile 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 300 | Zeile 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 632 | Zeile 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 1283 | Zeile 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';
|
Zeile 1561 | Zeile 1561 |
---|
if($mybb->input['action'] == "cancel") {
|
if($mybb->input['action'] == "cancel") {
|
if(!verify_post_check($mybb->input['my_post_key']))
| if(!verify_post_check($mybb->get_input('my_post_key')))
|
{ flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=user-users");
| { flash_message($lang->invalid_post_verify_key2, 'error'); admin_redirect("index.php?module=user-users");
|