aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/cache/scanner.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/cache/scanner.php')
-rw-r--r--lib/files/cache/scanner.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php
index fdbce0d51fe..d296c606865 100644
--- a/lib/files/cache/scanner.php
+++ b/lib/files/cache/scanner.php
@@ -121,6 +121,8 @@ class Scanner extends BasicEmitter {
}
$parentCacheData = $this->cache->get($parent);
$parentCacheData['etag'] = $this->storage->getETag($parent);
+ // the boolean to int conversion is necessary to make pg happy
+ $parentCacheData['encrypted'] = $parentCacheData['encrypted'] ? 1 : 0;
$this->cache->put($parent, $parentCacheData);
}
}