fix(CrawlService): archive.enabled check would always be true

fixes #2306

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2025-07-13 12:28:59 +02:00
parent ee59bbe82e
commit 2fb0156b8b

View File

@ -79,7 +79,7 @@ class CrawlService {
if ($available) {
$this->userSettingsService->setUserId($bookmark->getUserId());
if (((bool)$this->userSettingsService->get('archive.enabled')) === true) {
if ($this->userSettingsService->get('archive.enabled') === 'true') {
$this->archiveFile($bookmark, $resp);
$this->archiveContent($bookmark, $resp);
}