diff options
-rw-r--r-- | cropper/cropper.html | 3 | ||||
-rw-r--r-- | include/Contact.php | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/cropper/cropper.html b/cropper/cropper.html index 6e3f09ebc..236235247 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 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) + ); } |