From da555286d6571cc7951af6e91bd3f4021027603e Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 29 Apr 2012 22:36:26 -0700 Subject: [PATCH] missed a db field --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/items.php b/include/items.php index 7d61c9f1d4..a1dcdb6d8b 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']) );