From 0f0fba0e9e768abeaf8399243633405f5ae06fff Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 13 Apr 2017 23:20:09 +0200 Subject: missing includes --- include/photos.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/photos.php') 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']) { -- cgit v1.2.3