aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-29 22:36:26 -0700
committerfriendica <info@friendica.com>2012-04-29 22:36:26 -0700
commitda555286d6571cc7951af6e91bd3f4021027603e (patch)
tree2b52ade7e56dc7a2cce1e21360119b6d13ed7da1 /include
parent928faf3b9712e88e030b2ccbbc630e3991e03d03 (diff)
downloadvolse-hubzilla-da555286d6571cc7951af6e91bd3f4021027603e.tar.gz
volse-hubzilla-da555286d6571cc7951af6e91bd3f4021027603e.tar.bz2
volse-hubzilla-da555286d6571cc7951af6e91bd3f4021027603e.zip
missed a db field
Diffstat (limited to 'include')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 7d61c9f1d..a1dcdb6d8 100644
--- a/include/items.php
+++ b/include/items.php
@@ -2230,7 +2230,7 @@ function local_delivery($importer,$data) {
$datarray = get_atom_elements($feed,$item);
- $r = q("SELECT `uid`, `last-child`, `edited`, `body` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1",
+ $r = q("SELECT `id`, `uid`, `last-child`, `edited`, `body` FROM `item` WHERE `uri` = '%s' AND `uid` = %d LIMIT 1",
dbesc($item_id),
intval($importer['importer_uid'])
);