diff options
author | Friendika <info@friendika.com> | 2011-07-26 22:40:11 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-07-26 22:40:11 -0700 |
commit | c17890ab6211f9d5095fcecbd0ce439ec5d67916 (patch) | |
tree | 1d327be7fdfa443d560c5b3547774111487d096c /include/event.php | |
parent | 94e027af672cb641c70093e62f54356da0c05ccb (diff) | |
download | volse-hubzilla-c17890ab6211f9d5095fcecbd0ce439ec5d67916.tar.gz volse-hubzilla-c17890ab6211f9d5095fcecbd0ce439ec5d67916.tar.bz2 volse-hubzilla-c17890ab6211f9d5095fcecbd0ce439ec5d67916.zip |
privacy settings on event item not propagated correctly
Diffstat (limited to 'include/event.php')
-rw-r--r-- | include/event.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/event.php b/include/event.php index aab195d24..3100c8ac4 100644 --- a/include/event.php +++ b/include/event.php @@ -341,10 +341,10 @@ function event_store($arr) { $item_arr['author-link'] = $contact['url']; $item_arr['author-avatar'] = $contact['thumb']; $item_arr['title'] = ''; - $item_arr['allow_cid'] = $str_contact_allow; - $item_arr['allow_gid'] = $str_group_allow; - $item_arr['deny_cid'] = $str_contact_deny; - $item_arr['deny_gid'] = $str_group_deny; + $item_arr['allow_cid'] = $arr['allow_cid']; + $item_arr['allow_gid'] = $arr['allow_gid']; + $item_arr['deny_cid'] = $arr['deny_cid']; + $item_arr['deny_gid'] = $arr['deny_gid']; $item_arr['last-child'] = 1; $item_arr['visible'] = 1; $item_arr['verb'] = ACTIVITY_POST; |