aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-03-18 18:07:37 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-03-18 18:07:37 +0100
commit878bdeccfd66b7b8229fd761c23ba13bc51c7454 (patch)
tree6b881c4f71389ef6aa49776e8b99ac65f30f4ec2 /mod/photos.php
parentf4f5095e19badcc85453182b86bff97f57228257 (diff)
parent9838245c6c9b2e311650b53a1c3aa1ef778ef935 (diff)
downloadvolse-hubzilla-878bdeccfd66b7b8229fd761c23ba13bc51c7454.tar.gz
volse-hubzilla-878bdeccfd66b7b8229fd761c23ba13bc51c7454.tar.bz2
volse-hubzilla-878bdeccfd66b7b8229fd761c23ba13bc51c7454.zip
Merge branch 'master' of git://github.com/friendika/friendika
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]';