when creating an event from a post in our stream, if the original post was private, set the event permissions to "just me". If it was a public event, set the event permissions to the channel default permissions.

This commit is contained in:
redmatrix
2016-02-25 00:36:35 -08:00
parent 43521bb10b
commit ebfa1a12b9
5 changed files with 16 additions and 5 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ function cal_content(&$a) {
$m = 0;
$ignored = ((x($_REQUEST,'ignored')) ? " and ignored = " . intval($_REQUEST['ignored']) . " " : '');
logger('args: ' . print_r($a->argv,true));
// logger('args: ' . print_r($a->argv,true));
if(argc() > 3 && intval(argv(2)) && intval(argv(3))) {
$mode = 'view';