imported event should not have wall flag set
This commit is contained in:
parent
bb73c0b9f3
commit
a66083b3e4
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ function event_store($arr) {
|
||||||
$item_arr['uri'] = $arr['uri'];
|
$item_arr['uri'] = $arr['uri'];
|
||||||
$item_arr['parent-uri'] = $arr['uri'];
|
$item_arr['parent-uri'] = $arr['uri'];
|
||||||
$item_arr['type'] = 'activity';
|
$item_arr['type'] = 'activity';
|
||||||
$item_arr['wall'] = 1;
|
$item_arr['wall'] = (($arr['cid']) ? 0 : 1);
|
||||||
$item_arr['contact-id'] = $contact['id'];
|
$item_arr['contact-id'] = $contact['id'];
|
||||||
$item_arr['owner-name'] = $contact['name'];
|
$item_arr['owner-name'] = $contact['name'];
|
||||||
$item_arr['owner-link'] = $contact['url'];
|
$item_arr['owner-link'] = $contact['url'];
|
||||||
|
|
Loading…
Reference in a new issue