aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-17 16:04:17 -0700
committerzotlabs <mike@macgirvin.com>2017-04-17 16:04:17 -0700
commit7a31c039fb1114e251a85c4888a305966945167b (patch)
treec1f1074e25d0f53bce797c5887f2c235b681694c /include/photos.php
parent60d4b4c4f6ed9f41bdf2e8ec17e448f39f699096 (diff)
parent7cca2b7fb0fe716f669b854606fdd1329ccb77ad (diff)
downloadvolse-hubzilla-7a31c039fb1114e251a85c4888a305966945167b.tar.gz
volse-hubzilla-7a31c039fb1114e251a85c4888a305966945167b.tar.bz2
volse-hubzilla-7a31c039fb1114e251a85c4888a305966945167b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/photos.php b/include/photos.php
index 9b2515658..896f3e1f2 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -470,6 +470,7 @@ function photos_albums_list($channel, $observer, $sort_key = 'display_path', $di
intval($channel_id)
);
if($x) {
+ require_once('include/attach.php');
foreach($r as $rv) {
foreach($x as $xv) {
if($xv['folder'] === $rv['hash']) {