From 4f1d24d22bf079547db191a6d71a461c70e8eec3 Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Sun, 5 May 2024 17:20:20 +0200 Subject: [PATCH] Fix: Metadata incorrectly reported as saved --- app/Classes/Traits/ManagesMetadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Traits/ManagesMetadata.php b/app/Classes/Traits/ManagesMetadata.php index ca357ba..79378d4 100644 --- a/app/Classes/Traits/ManagesMetadata.php +++ b/app/Classes/Traits/ManagesMetadata.php @@ -48,7 +48,7 @@ private function saveMetadata(): bool $oneSaved = false; foreach ($this->metadataManagers as $manager) { - if (!$manager->save()) { + if ($manager->save()) { $oneSaved = true; } }