From: friendica Date: Mon, 30 Apr 2012 05:36:26 +0000 (-0700) Subject: missed a db field X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da555286d6571cc7951af6e91bd3f4021027603e;p=friendica.git missed a db field --- 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']) );