aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:33:02 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:33:02 -0700
commitf5826105bfc514599b2c5b6692bca14ca4bc5d78 (patch)
tree7255ddd102b2141ad581f636be37bc60a94e669c /mod/contacts.php
parent766b31707037a82ffd9140bfe599c27f4ef01495 (diff)
downloadvolse-hubzilla-f5826105bfc514599b2c5b6692bca14ca4bc5d78.tar.gz
volse-hubzilla-f5826105bfc514599b2c5b6692bca14ca4bc5d78.tar.bz2
volse-hubzilla-f5826105bfc514599b2c5b6692bca14ca4bc5d78.zip
group work, dfrn_poll
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)
);