]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Replace "group" with "circle" in database comments
[friendica.git] / mod / photos.php
index 18118bcd96bf6ba3ac0fe283a9f11c7aa234ac5e..0a8dc472d7c5eac89cb3ccd388a29d6b4c38c137 100644 (file)
@@ -375,7 +375,7 @@ function photos_post(App $a)
                        $arr['visible']       = 0;
                        $arr['origin']        = 1;
 
-                       $arr['body']          = Images::getImageUrl($photo['resource-id'], $user['nickname'], $photo['scale'], $ext, '');
+                       $arr['body']          = Images::getBBCodeByResource($photo['resource-id'], $user['nickname'], $photo['scale'], $ext);
 
                        $item_id = Item::insert($arr);
                }