aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-17 21:15:27 -0700
committerFriendika <info@friendika.com>2011-03-17 21:15:27 -0700
commitea03d9fa86827cbc7e86885bbe2493d8a9739546 (patch)
tree17bc58cec9b7ea2542a0e1a90e57ebe048e5223f /mod/photos.php
parent6380d22229a6d0003f7024d0c8420ef7c9ec2a4d (diff)
downloadvolse-hubzilla-ea03d9fa86827cbc7e86885bbe2493d8a9739546.tar.gz
volse-hubzilla-ea03d9fa86827cbc7e86885bbe2493d8a9739546.tar.bz2
volse-hubzilla-ea03d9fa86827cbc7e86885bbe2493d8a9739546.zip
more thorough cleanup on account/contact removal
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php1
1 files changed, 1 insertions, 0 deletions
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]';