diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index 0402e820..9a1bd600 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -682,7 +682,7 @@ ORDER BY } } $db->query("DELETE FROM recipient WHERE address_id=".$mail_id.";"); - if (isset($m) && $m) { + if (isset($red) && $red) { $db->query("INSERT INTO recipient SET address_id=".$mail_id.", recipients='".addslashes($red)."';"); } return true;