aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-25 20:05:21 -0700
committerFriendika <info@friendika.com>2011-10-25 20:05:21 -0700
commitd9f64deda0192a85265f5913877fc3adf95aa177 (patch)
treee281122318099ddc4f2212e5f9e2a447532558b0 /include/items.php
parent72d74b88be0e9a25920d336c7eab0aeb09342f63 (diff)
downloadvolse-hubzilla-d9f64deda0192a85265f5913877fc3adf95aa177.tar.gz
volse-hubzilla-d9f64deda0192a85265f5913877fc3adf95aa177.tar.bz2
volse-hubzilla-d9f64deda0192a85265f5913877fc3adf95aa177.zip
sql error
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 4e7674a2e..1b4b52491 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1264,7 +1264,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
}
if($deleted && is_array($contact)) {
$r = q("SELECT `item`.*, `contact`.`self` FROM `item` left join `contact` on `item`.`contact-id` = `contact`.id`
- WHERE `uri` = '%s' AND `uid` = %d AND `contact-id` = %d LIMIT 1",
+ WHERE `uri` = '%s' AND `item`.`uid` = %d AND `contact-id` = %d LIMIT 1",
dbesc($uri),
intval($importer['uid']),
intval($contact['id'])