diff options
Diffstat (limited to 'include/photos.php')
-rw-r--r-- | include/photos.php | 1 |
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']) { |