From 21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 27 Jan 2015 17:46:16 -0800 Subject: we need to actually ask for the id from the DB if we want to use it. --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 2fcada429..3cf54e54e 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1485,7 +1485,7 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false,$reque // As a side effect we will also do a preliminary check that we have the top-level-post, otherwise // processing it is pointless. - $r = q("select route from item where mid = '%s' and uid = %d limit 1", + $r = q("select route, id from item where mid = '%s' and uid = %d limit 1", dbesc($arr['parent_mid']), intval($channel['channel_id']) ); -- cgit v1.2.3