aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-02-26 15:21:14 +0100
committerMario Vavti <mario@mariovavti.com>2016-02-26 15:21:14 +0100
commit776bc51172f5c21348c674a8bb6bf5037bde6815 (patch)
tree53176f6348f2179204023978d9a5853463173ff1 /include/photos.php
parentdf57c90d2d93fef1d021bee4b91a50b1b34ee938 (diff)
downloadvolse-hubzilla-776bc51172f5c21348c674a8bb6bf5037bde6815.tar.gz
volse-hubzilla-776bc51172f5c21348c674a8bb6bf5037bde6815.tar.bz2
volse-hubzilla-776bc51172f5c21348c674a8bb6bf5037bde6815.zip
fix link to photo album and make sure that small photos are not overwritten by body text.
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);