Browse Source

imported event should not have wall flag set

tags/2.3beta1
Friendika 9 years ago
parent
commit
a66083b3e4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/event.php

+ 1
- 1
include/event.php View File

@@ -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'];


Loading…
Cancel
Save