fix even more brackets

Signed-off-by: Jasper Knockaert jasper@knockaert.nl
pull/27407/head
Jasper Knockaert 3 years ago committed by MichaIng (Rebase PR Action)
parent ac650a13d3
commit 8466c53e00

@ -935,7 +935,7 @@ class Encryption extends Wrapper {
// 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';
}
}

Loading…
Cancel
Save