Skip to content

Commit 2fb0156

Browse files
committed
fix(CrawlService): archive.enabled check would always be true
fixes #2306 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent ee59bbe commit 2fb0156

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/CrawlService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function crawl(Bookmark $bookmark): void {
7979

8080
if ($available) {
8181
$this->userSettingsService->setUserId($bookmark->getUserId());
82-
if (((bool)$this->userSettingsService->get('archive.enabled')) === true) {
82+
if ($this->userSettingsService->get('archive.enabled') === 'true') {
8383
$this->archiveFile($bookmark, $resp);
8484
$this->archiveContent($bookmark, $resp);
8585
}

0 commit comments

Comments
 (0)