finishing email class. Need testing

This commit is contained in:
Benjamin Sonntag 2012-08-24 18:23:39 +00:00
parent a11fac44ae
commit 33047a0163
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class m_mail {
$db->query("INSERT INTO mailbox SET address_id=".$mail_id.", path='".addslashes($path)."';");
}
if ($me["islocal"] && $islocal && $me["mailbox_action"]=="DELETE") {
$db->query("UPDATE mailbox SET mail_action='' WHERE mail_action='DELETE' AND address_id=".$mail_id.";");
$db->query("UPDATE mailbox SET mail_action='OK' WHERE mail_action='DELETE' AND address_id=".$mail_id.";");
}
if ($islocal) {