diff options
author | friendica <info@friendica.com> | 2012-05-27 21:01:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-27 21:01:58 -0700 |
commit | 2bd1004587fc8d928b9458b2383b656df115578c (patch) | |
tree | a41cbc9032e4bff8872ced3683ded42af0e5da0d /include/delivery.php | |
parent | 08941d42856984a3076e972804ac016400341f91 (diff) | |
download | volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.tar.gz volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.tar.bz2 volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.zip |
rework the way private photos are embedded to avoid url differences and also check the permissions if possible to make sure that nothing sneaks by.
Diffstat (limited to 'include/delivery.php')
-rw-r--r-- | include/delivery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/delivery.php b/include/delivery.php index 61b0bd33a..32943d5da 100644 --- a/include/delivery.php +++ b/include/delivery.php @@ -288,7 +288,7 @@ function delivery_run($argv, $argc){ if($normal_mode) { if($item_id == $item['id'] || $item['id'] == $item['parent']) - $atom .= atom_entry($item,'text',null,$owner,true); + $atom .= atom_entry($item,'text',null,$owner,true,(($top_level) ? $contact['id'] : 0)); } else $atom .= atom_entry($item,'text',null,$owner,true); |