Skip to content

Commit

Permalink
fix even more brackets
Browse files Browse the repository at this point in the history
Signed-off-by: Jasper Knockaert [email protected]
  • Loading branch information
Jasper Knockaert authored and backportbot[bot] committed Jun 6, 2021
1 parent 21164e4 commit 82cd9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/Wrapper/Encryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ protected function getHeader($path) {

// if the header doesn't contain a encryption module we check if it is a
// legacy file. If true, we add the default encryption module
if (!isset($result[Util::HEADER_ENCRYPTION_MODULE_KEY] && (!empty($result) || $exists)) {
if (!isset($result[Util::HEADER_ENCRYPTION_MODULE_KEY]) && (!empty($result) || $exists)) {
$result[Util::HEADER_ENCRYPTION_MODULE_KEY] = 'OC_DEFAULT_MODULE';
}
}
Expand Down

0 comments on commit 82cd9ed

Please sign in to comment.