X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=0a8dc472d7c5eac89cb3ccd388a29d6b4c38c137;hb=4f6e02357a0cb8f8fdaf8586a3d26783df3fe385;hp=18118bcd96bf6ba3ac0fe283a9f11c7aa234ac5e;hpb=7d91cc73de054c645df61f64ef72ff8aca9cfb4d;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index 18118bcd96..0a8dc472d7 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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); }