From 45094e2a5d0d254f290f7fb1a7bf3c2dbd98c907 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 28 Apr 2015 16:49:59 +0200 Subject: [PATCH] fixing alias change not working in some case (no endline) --- bureau/class/m_mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;