diff options
author | friendica <info@friendica.com> | 2015-01-27 17:46:16 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-27 17:46:16 -0800 |
commit | 21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3 (patch) | |
tree | 5e864000907bb05e97771d300d7574e329d7f27b /include | |
parent | 2f4ef7660c82f7b8878a7c2d14c9e69a52b8fbc0 (diff) | |
download | volse-hubzilla-21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3.tar.gz volse-hubzilla-21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3.tar.bz2 volse-hubzilla-21f85b32ecaa89a584c29cdf1ef7726cbbb70bb3.zip |
we need to actually ask for the id from the DB if we want to use it.
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']) ); |