diff options
Diffstat (limited to 'include')
-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 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']) { |