From a66083b3e47cb6689728e38a0b7ade9d23ddbc4b Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 16 Jun 2011 18:11:00 -0700 Subject: [PATCH] imported event should not have wall flag set --- include/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];