]> git.mxchange.org Git - friendica.git/commitdiff
missed a db field
authorfriendica <info@friendica.com>
Mon, 30 Apr 2012 05:36:26 +0000 (22:36 -0700)
committerfriendica <info@friendica.com>
Mon, 30 Apr 2012 05:36:26 +0000 (22:36 -0700)
include/items.php

index 7d61c9f1d450d16918ef8c708a33f039bc9d5091..a1dcdb6d8b6ebb2cda9d0b0cb97b4d0b060d3de6 100644 (file)
@@ -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'])
                                );