X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=df843846456d613522f83fa45d272402c1937a81;hb=7789ea25079801ee1425368e9bf2f7ce80d16d88;hp=e720d7d4b33c847b7c828581642cc78093cb5bca;hpb=054c301ef0345c4ff9f35cfd08717757eab17b9d;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index e720d7d4b3..df84384645 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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'];