aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-06 18:07:29 -0700
committerredmatrix <git@macgirvin.com>2016-04-06 18:07:29 -0700
commit29363a185dea07dbb035ccdc027a48881d8e96fd (patch)
treeba03fa88f7f990d368faa6fb639f4231bfee2ccf /include/photos.php
parenta20ef706fd6e7011a0dc95df71222b9a5871e3b3 (diff)
downloadvolse-hubzilla-29363a185dea07dbb035ccdc027a48881d8e96fd.tar.gz
volse-hubzilla-29363a185dea07dbb035ccdc027a48881d8e96fd.tar.bz2
volse-hubzilla-29363a185dea07dbb035ccdc027a48881d8e96fd.zip
file sync work
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/photos.php b/include/photos.php
index 5838c013f..312ea18d3 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -312,7 +312,7 @@ function photo_upload($channel, $observer, $args) {
'title' => $title,
'created' => $p['created'],
'edited' => $p['edited'],
- 'id' => rawurlencode(z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $photo_hash),
+ 'id' => z_root() . '/photos/' . $channel['channel_address'] . '/image/' . $photo_hash,
'link' => $link,
'body' => $obj_body
);
@@ -320,7 +320,7 @@ function photo_upload($channel, $observer, $args) {
$target = array(
'type' => ACTIVITY_OBJ_ALBUM,
'title' => (($album) ? $album : '/'),
- 'id' => rawurlencode(z_root() . '/photos/' . $channel['channel_address'] . '/album/' . bin2hex($album))
+ 'id' => z_root() . '/photos/' . $channel['channel_address'] . '/album/' . bin2hex($album)
);
// Create item container