aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-27 11:24:02 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-27 11:24:02 +0100
commitcf5383fdbe273af6b3858e216b313124fd125cf6 (patch)
treea220d55b6624c76421a6173aec785958103aa92a /include/photos.php
parent21f2df399d3e21b6322ece16717efe88bcc21621 (diff)
parent6126070a1d53c3ef4f59c8a0a6160610ef16563c (diff)
downloadvolse-hubzilla-cf5383fdbe273af6b3858e216b313124fd125cf6.tar.gz
volse-hubzilla-cf5383fdbe273af6b3858e216b313124fd125cf6.tar.bz2
volse-hubzilla-cf5383fdbe273af6b3858e216b313124fd125cf6.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php
index 1a57ce76f..be18600de 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -296,7 +296,7 @@ function photo_upload($channel, $observer, $args) {
$photo_link = '[zrl=' . z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $photo_hash . ']' . t('a new photo') . '[/zrl]';
- $album_link = '[zrl=' . z_root() . '/photos/album/' . bin2hex($album) . ']' . $album . '[/zrl]';
+ $album_link = '[zrl=' . z_root() . '/photos/' . $channel['channel_address'] . '/album/' . bin2hex($album) . ']' . $album . '[/zrl]';
$activity_format = sprintf(t('%1$s posted %2$s to %3$s','photo_upload'), $author_link, $photo_link, $album_link);