diff options
Diffstat (limited to 'lib/Sabre/Album/AlbumRoot.php')
-rw-r--r-- | lib/Sabre/Album/AlbumRoot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sabre/Album/AlbumRoot.php b/lib/Sabre/Album/AlbumRoot.php index 222fa53c..4a51d619 100644 --- a/lib/Sabre/Album/AlbumRoot.php +++ b/lib/Sabre/Album/AlbumRoot.php @@ -80,7 +80,7 @@ class AlbumRoot implements ICollection, ICopyTarget { public function getChild($name): AlbumPhoto { foreach ($this->album->getFiles() as $file) { - if ($file->getName() === $name) { + if ($file->getFileId() . "-" . $file->getName() === $name) { return new AlbumPhoto($this->albumMapper, $this->album->getAlbum(), $file, $this->userFolder); } } |