aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-12 14:16:34 -0800
committerzotlabs <mike@macgirvin.com>2017-12-12 14:18:34 -0800
commit494ce9b87230c1745ec9da8cf60fa448cac4f187 (patch)
tree1db2cc88217bba48b39c281b8a42d293e069fc24 /Zotlabs
parenta984cd2b27a7976c8d727efc5012f39b6b554bc1 (diff)
downloadvolse-hubzilla-494ce9b87230c1745ec9da8cf60fa448cac4f187.tar.gz
volse-hubzilla-494ce9b87230c1745ec9da8cf60fa448cac4f187.tar.bz2
volse-hubzilla-494ce9b87230c1745ec9da8cf60fa448cac4f187.zip
hubzilla #475 continued - show photos in root folder. Part of Andrew's fix for this wasn't in my repository and hopefully won't conflict; as it appears to have been lost somewhere. It also needed a small change to the folder permissions check.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Embedphotos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Embedphotos.php b/Zotlabs/Module/Embedphotos.php
index c92af27d6..15cc68d7f 100644
--- a/Zotlabs/Module/Embedphotos.php
+++ b/Zotlabs/Module/Embedphotos.php
@@ -83,7 +83,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
return '';
if($args['album'])
- $album = $args['album'];
+ $album = (($args['album'] === '/') ? '' : $args['album']);
if($args['title'])
$title = $args['title'];