X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fitems.php;h=07f62ece575970f81f6fc7000be2f4cc285e1e47;hb=912e008ded3d439f7779310eb422e4b871a9b63d;hp=0a8bc12c0893911e9e414acfb1d993949f8861b3;hpb=9663299da1be50eef4327778fae619fc6f9edef4;p=friendica.git diff --git a/include/items.php b/include/items.php index 0a8bc12c08..07f62ece57 100644 --- a/include/items.php +++ b/include/items.php @@ -2479,7 +2479,7 @@ function local_delivery($importer,$data) { if(!x($datarray['type']) || $datarray['type'] != 'activity') { - $myconv = q("SELECT `author-link`, `author-avatar`, `parent` FROM `item` WHERE `parent-uri` = '%s' AND `uid` = %d AND `parent` != 0 ", + $myconv = q("SELECT `author-link`, `author-avatar`, `parent` FROM `item` WHERE `parent-uri` = '%s' AND `uid` = %d AND `parent` != 0 AND `deleted` = 0", dbesc($parent_uri), intval($importer['importer_uid']) );