We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1dcd06 commit bb092ddCopy full SHA for bb092dd
1 file changed
lib/private/Files/Storage/Wrapper/Encryption.php
@@ -937,7 +937,7 @@ protected function getHeader($path) {
937
938
// if the header doesn't contain a encryption module we check if it is a
939
// legacy file. If true, we add the default encryption module
940
- if (!isset($result[Util::HEADER_ENCRYPTION_MODULE_KEY] && (!empty($result) || $exists)) {
+ if (!isset($result[Util::HEADER_ENCRYPTION_MODULE_KEY]) && (!empty($result) || $exists)) {
941
$result[Util::HEADER_ENCRYPTION_MODULE_KEY] = 'OC_DEFAULT_MODULE';
942
}
943
0 commit comments