diff --git a/include/notifier.php b/include/notifier.php index 6c90629bd8..a922dba346 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -376,6 +376,7 @@ function notifier_run(&$argv, &$argc){ $conversants = array_unique($conversants); + logger('Allow data for '.$target_item["guid"].". People: ".implode(', ', $allow_people)." - Groups: ".implode(', ', $allow_groups), LOGGER_DEBUG); $recipients = array_unique(array_merge($recipients,$allow_people,$allow_groups)); $deny = array_unique(array_merge($deny_people,$deny_groups)); @@ -455,6 +456,8 @@ function notifier_run(&$argv, &$argc){ else $recip_str = implode(', ', $recipients); + logger('Recipients for '.$target_item["guid"]." (Followup: ".$followup."): ".$recip_str, LOGGER_DEBUG); + if ($relocate) $r = $recipients_relocate; else diff --git a/mod/events.php b/mod/events.php index 653ae489b8..633aaf0c1d 100644 --- a/mod/events.php +++ b/mod/events.php @@ -124,6 +124,7 @@ function events_post(&$a) { $datarray = array(); + $datarray['guid'] = get_guid(32); $datarray['start'] = $start; $datarray['finish'] = $finish; $datarray['summary'] = $summary;