aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-23 21:02:41 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-23 21:02:41 -0700
commit908da4589dc4961c07d049c97bcfd59bc2973c89 (patch)
treeb1227e30ec67fc60ec148a4dbf421fec081e6112
parentbd131433b68055869d46417a18f11bdcc9b22b3b (diff)
downloadvolse-hubzilla-908da4589dc4961c07d049c97bcfd59bc2973c89.tar.gz
volse-hubzilla-908da4589dc4961c07d049c97bcfd59bc2973c89.tar.bz2
volse-hubzilla-908da4589dc4961c07d049c97bcfd59bc2973c89.zip
event privacy issue
-rwxr-xr-xmod/events.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php
index fa00970b4..a3540ab0a 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -148,10 +148,9 @@ function events_post(&$a) {
}
}
else {
- // Note: do not set `private` field for self-only events. It will
- // keep even you from seeing them!
$str_contact_allow = '<' . $channel['channel_hash'] . '>';
$str_group_allow = $str_contact_deny = $str_group_deny = '';
+ $private_event = true;
}
}