EditAlbum: address refactor mistake

This commit is contained in:
2025-02-26 15:44:30 +01:00
parent 041b56ff8c
commit b775cffc0c
2 changed files with 8 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ class EditAsset extends HTMLController
// Get a list of available photo albums
$allAlbums = [];
foreach (PhotoAlbum::getHierarchy('tag', 'up') as $album)
foreach (Tag::getOffset(0, 9999, 'tag', 'up', true) as $album)
$allAlbums[$album['id_tag']] = $album['tag'];
// Figure out the current album id