diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Contact.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Contact.php b/include/Contact.php index a514a119c..98d3e7c0b 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -34,6 +34,9 @@ function contact_remove($id) { q("DELETE FROM `photo` WHERE `contact-id` = %d ", intval($id) ); + q("DELETE FROM `mail` WHERE `contact-id` = %d ", + intval($id) + ); } |