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 jasper@knockaert.nl
  • Loading branch information
Jasper Knockaert authored and backportbot[bot] committed Jun 6, 2021
1 parent c53a81e commit 694b808
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 @@ -937,7 +937,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 694b808

Please sign in to comment.