From 727c74c2949356e9d12161bcd1db06111efcec73 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Tue, 25 Oct 2016 18:49:25 +0200 Subject: [PATCH] Fixed the search --- php/Modules/Album.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Modules/Album.php b/php/Modules/Album.php index 95ebee5..143ac64 100644 --- a/php/Modules/Album.php +++ b/php/Modules/Album.php @@ -69,6 +69,7 @@ final class Album { if (isset($data['description'])) $album['description'] = $data['description']; if (isset($data['visible'])) $album['visible'] = $data['visible']; if (isset($data['downloadable'])) $album['downloadable'] = $data['downloadable']; + if (isset($data['parent'])) $album['parent'] = $data['parent']; // Parse date $album['sysdate'] = strftime('%B %Y', $data['sysstamp']); @@ -79,7 +80,6 @@ final class Album { // Parse thumbs or set default value $album['thumbs'] = (isset($data['thumbs']) ? explode(',', $data['thumbs']) : array()); - $album['parent'] = $data['parent']; return $album;