Use post-type for the item container
This commit is contained in:
parent
38a5358bfa
commit
9072107b83
4 changed files with 6 additions and 6 deletions
|
@ -784,7 +784,7 @@ function photos_post(App $a)
|
|||
$arr['guid'] = System::createUUID();
|
||||
$arr['uid'] = $page_owner_uid;
|
||||
$arr['uri'] = $uri;
|
||||
$arr['type'] = 'photo';
|
||||
$arr['post-type'] = Item::PT_IMAGE;
|
||||
$arr['wall'] = 1;
|
||||
$arr['resource-id'] = $resource_id;
|
||||
$arr['contact-id'] = $owner_record['id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue