]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Merge pull request #10228 from MrPetovan/bug/warnings
[friendica.git] / mod / photos.php
index e720d7d4b33c847b7c828581642cc78093cb5bca..df843846456d613522f83fa45d272402c1937a81 100644 (file)
@@ -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'];