]> git.mxchange.org Git - friendica.git/commitdiff
privacy settings on event item not propagated correctly
authorFriendika <info@friendika.com>
Wed, 27 Jul 2011 05:40:11 +0000 (22:40 -0700)
committerFriendika <info@friendika.com>
Wed, 27 Jul 2011 05:40:11 +0000 (22:40 -0700)
include/event.php

index aab195d245e2982c45b82738e9dac7013f98f967..3100c8ac49210cac57d6de227d9f666668427c41 100644 (file)
@@ -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;