From ea03d9fa86827cbc7e86885bbe2493d8a9739546 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 17 Mar 2011 21:15:27 -0700 Subject: more thorough cleanup on account/contact removal --- mod/photos.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/photos.php') diff --git a/mod/photos.php b/mod/photos.php index 4bb6e3eab..8298d0d3f 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -310,6 +310,7 @@ foreach($_FILES AS $key => $val) { $arr['deny_gid'] = $p[0]['deny_gid']; $arr['last-child'] = 1; $arr['visible'] = $visibility; + $arr['body'] = '[url=' . $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $p[0]['resource-id'] . ']' . '[img]' . $a->get_baseurl() . '/photo/' . $p[0]['resource-id'] . '-' . $p[0]['scale'] . '.jpg' . '[/img]' . '[/url]'; -- cgit v1.2.3