From 994be11d4e1f7ee56cb0681ca72212065a2c2e46 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 19 Jan 2024 10:27:22 +0100 Subject: [PATCH] fix(UnassignedFacesHome): Don't use non-existing property Signed-off-by: Marcel Klehr --- lib/Dav/Faces/UnassignedFacesHome.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Dav/Faces/UnassignedFacesHome.php b/lib/Dav/Faces/UnassignedFacesHome.php index 546a30a2..b07af8bc 100644 --- a/lib/Dav/Faces/UnassignedFacesHome.php +++ b/lib/Dav/Faces/UnassignedFacesHome.php @@ -105,7 +105,7 @@ public function getChildren(): array { $detections = $this->faceDetectionMapper->findRejectedByUserId($this->user->getUID()); $detectionsWithFile = array_filter($detections, fn (FaceDetection $detection): bool => current($this->rootFolder->getUserFolder($this->user->getUID())->getById($detection->getFileId())) !== false); $this->children = array_map(function (FaceDetection $detection) { - return new UnassignedFacePhoto($this->faceDetectionMapper, $detection, $this->rootFolder->getUserFolder($this->user->getUID()), $this->tagManager, $this->metadataManager, $this->previewManager); + return new UnassignedFacePhoto($this->faceDetectionMapper, $detection, $this->rootFolder->getUserFolder($this->user->getUID()), $this->tagManager, $this->previewManager); }, $detectionsWithFile); return $this->children;