diff --git a/cropper/cropper.html b/cropper/cropper.html index 6e3f09ebc0..2362352474 100644 --- a/cropper/cropper.html +++ b/cropper/cropper.html @@ -224,4 +224,5 @@ overflow:hidden; and then in your code surround the img tag with a div with the class name of no_cake. -Cheers \ No newline at end of file +Cheers + diff --git a/include/Contact.php b/include/Contact.php index a514a119ca..98d3e7c0b1 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) + ); }