aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index b14377cea..5435df7b2 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -52,7 +52,7 @@ function contacts_post(&$a) {
}
}
if($intval($contact_id))
- q("DELETE * FROM `item` WHERE `contact-id` = %d ",
+ q("DELETE FROM `item` WHERE `contact-id` = %d LIMIT 1",
intval($contact_id)
);