aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-11-01 19:16:33 -0700
committerFriendika <info@friendika.com>2011-11-01 19:16:33 -0700
commit3d9a9614e232a3ff207803be1092b1d42bcadde6 (patch)
treeaf9ba51b8cefc4246a2627ec2e94b940c6531aa4 /include/items.php
parent0975ea86101281befec9258d58e28c88d7b8ae4d (diff)
downloadvolse-hubzilla-3d9a9614e232a3ff207803be1092b1d42bcadde6.tar.gz
volse-hubzilla-3d9a9614e232a3ff207803be1092b1d42bcadde6.tar.bz2
volse-hubzilla-3d9a9614e232a3ff207803be1092b1d42bcadde6.zip
common friends
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 ad121bbf5..2af2b5f55 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1263,7 +1263,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
$when = datetime_convert('UTC','UTC','now','Y-m-d H:i:s');
}
if($deleted && is_array($contact)) {
- $r = q("SELECT `item`.*, `contact`.`self` FROM `item` left join `contact` on `item`.`contact-id` = `contact`.id`
+ $r = q("SELECT `item`.*, `contact`.`self` FROM `item` left join `contact` on `item`.`contact-id` = `contact`.`id`
WHERE `uri` = '%s' AND `item`.`uid` = %d AND `contact-id` = %d LIMIT 1",
dbesc($uri),
intval($importer['uid']),