aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/events.php')
-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;
}
}