fixing alias change not working in some case (no endline)

This commit is contained in:
Benjamin Sonntag 2015-04-28 16:49:59 +02:00
parent d3caa7fcee
commit 45094e2a5d
1 changed files with 1 additions and 1 deletions

View File

@ -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;