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 21164e4 commit 82cd9edCopy full SHA for 82cd9ed
lib/private/Files/Storage/Wrapper/Encryption.php
@@ -935,7 +935,7 @@ protected function getHeader($path) {
935
936
// if the header doesn't contain a encryption module we check if it is a
937
// legacy file. If true, we add the default encryption module
938
- if (!isset($result[Util::HEADER_ENCRYPTION_MODULE_KEY] && (!empty($result) || $exists)) {
+ if (!isset($result[Util::HEADER_ENCRYPTION_MODULE_KEY]) && (!empty($result) || $exists)) {
939
$result[Util::HEADER_ENCRYPTION_MODULE_KEY] = 'OC_DEFAULT_MODULE';
940
}
941
0 commit comments