aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-04-13 23:20:09 +0200
committerMario Vavti <mario@mariovavti.com>2017-04-13 23:20:09 +0200
commit0f0fba0e9e768abeaf8399243633405f5ae06fff (patch)
tree8e6560e29ee39607cfab94d844a0fa240ebfd44e /include/photos.php
parent54f25609c9ecc6b6e41cca0966bd0a5405407970 (diff)
downloadvolse-hubzilla-0f0fba0e9e768abeaf8399243633405f5ae06fff.tar.gz
volse-hubzilla-0f0fba0e9e768abeaf8399243633405f5ae06fff.tar.bz2
volse-hubzilla-0f0fba0e9e768abeaf8399243633405f5ae06fff.zip
missing includes
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 a3869a72e..8a7e49df6 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -473,6 +473,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']) {