From: Friendika Date: Fri, 17 Jun 2011 01:11:00 +0000 (-0700) Subject: imported event should not have wall flag set X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a66083b3e47cb6689728e38a0b7ade9d23ddbc4b;p=friendica.git imported event should not have wall flag set --- diff --git a/include/event.php b/include/event.php index 9d4a8df597..8078a9a5ed 100644 --- a/include/event.php +++ b/include/event.php @@ -308,7 +308,7 @@ function event_store($arr) { $item_arr['uri'] = $arr['uri']; $item_arr['parent-uri'] = $arr['uri']; $item_arr['type'] = 'activity'; - $item_arr['wall'] = 1; + $item_arr['wall'] = (($arr['cid']) ? 0 : 1); $item_arr['contact-id'] = $contact['id']; $item_arr['owner-name'] = $contact['name']; $item_arr['owner-link'] = $contact['url'];