aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-20 18:46:23 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-20 18:46:23 -0700
commit6466774b6e6ed72ea1cc57cbc76e451205934aca (patch)
treede1b5415812e3cc9b9ee8d1e7d481dd9bc26cc8f /mod/editpost.php
parentfe00d29047da1cb99cbc06af938268ec9e6a8fcb (diff)
downloadvolse-hubzilla-6466774b6e6ed72ea1cc57cbc76e451205934aca.tar.gz
volse-hubzilla-6466774b6e6ed72ea1cc57cbc76e451205934aca.tar.bz2
volse-hubzilla-6466774b6e6ed72ea1cc57cbc76e451205934aca.zip
PRIVACY: possible privacy leakage under a defined set of circumstances
Diffstat (limited to 'mod/editpost.php')
-rw-r--r--mod/editpost.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index 58ebe31cb..81bb91b2a 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -132,6 +132,7 @@ function editpost_content(&$a) {
'$ptyp' => $itm[0]['type'],
'$content' => undo_post_tagging($itm[0]['body']),
'$post_id' => $post_id,
+ '$parent' => (($itm[0]['parent'] != $itm[0]['id']) ? $itm[0]['parent'] : ''),
'$baseurl' => $a->get_baseurl(),
'$defloc' => $channel['channel_location'],
'$visitor' => false,