mirror of
https://github.com/nextcloud/bookmarks.git
synced 2025-08-16 17:06:44 +00:00
fix(CrawlService): archive.enabled check would always be true
fixes #2306 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user