aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-16 18:11:00 -0700
committerFriendika <info@friendika.com>2011-06-16 18:11:00 -0700
commita66083b3e47cb6689728e38a0b7ade9d23ddbc4b (patch)
tree89da978d39c0bd0f4d94306db0a646be5ce7c564 /include/event.php
parentbb73c0b9f307accaa284820aaa11852c8481682f (diff)
downloadvolse-hubzilla-a66083b3e47cb6689728e38a0b7ade9d23ddbc4b.tar.gz
volse-hubzilla-a66083b3e47cb6689728e38a0b7ade9d23ddbc4b.tar.bz2
volse-hubzilla-a66083b3e47cb6689728e38a0b7ade9d23ddbc4b.zip
imported event should not have wall flag set
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php
index 9d4a8df59..8078a9a5e 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'];