diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-07 17:07:44 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-06-07 17:07:44 -0700 |
commit | 416a82bf121e568569ed28590092d34dd25da6c0 (patch) | |
tree | face76b8cda01ebfe8a1d3090235f1b524b75761 /include/photos.php | |
parent | 40b9130c63fbcc5bfd4ba5feb5463000dfe99d43 (diff) | |
parent | 55836e8ca65ca9a2ae25591de3232470d7a50049 (diff) | |
download | volse-hubzilla-416a82bf121e568569ed28590092d34dd25da6c0.tar.gz volse-hubzilla-416a82bf121e568569ed28590092d34dd25da6c0.tar.bz2 volse-hubzilla-416a82bf121e568569ed28590092d34dd25da6c0.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/photos.php')
-rw-r--r-- | include/photos.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/photos.php b/include/photos.php index 8a7e49df6..de5e08646 100644 --- a/include/photos.php +++ b/include/photos.php @@ -495,15 +495,15 @@ function photos_albums_list($channel, $observer, $sort_key = 'display_path', $di $ret['success'] = true; $ret['albums'] = array(); foreach($albums as $k => $album) { - $entry = array( - 'text' => (($album['album']) ? $album['album'] : '/'), + $entry = [ + 'text' => (($album['album']) ? $album['album'] : '/'), 'shorttext' => (($album['album']) ? ellipsify($album['album'],28) : '/'), - 'jstext' => (($album['album']) ? addslashes($album['album']) : '/'), - 'total' => $album['total'], - 'url' => z_root() . '/photos/' . $channel['channel_address'] . '/album/' . $album['folder'], + 'jstext' => (($album['album']) ? addslashes($album['album']) : '/'), + 'total' => $album['total'], + 'url' => z_root() . '/photos/' . $channel['channel_address'] . '/album/' . $album['folder'], 'urlencode' => urlencode($album['album']), - 'bin2hex' => $album['folder'] - ); + 'bin2hex' => $album['folder'] + ]; $ret['albums'][] = $entry; } } |