summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJasper Knockaert <jasper@knockaert.nl>2021-01-16 14:49:53 +0100
committerMichaIng (Rebase PR Action) <micha@dietpi.com>2021-09-03 13:40:42 +0000
commitbb092dd7cc711dadab7ee62e3e225c308725c160 (patch)
tree17e9790f0c981f9bcde59862da04e73d131e4607 /lib
parentc1dcd06fe1b73de58c37346318a4a8499836f409 (diff)
downloadnextcloud-server-bb092dd7cc711dadab7ee62e3e225c308725c160.tar.gz
nextcloud-server-bb092dd7cc711dadab7ee62e3e225c308725c160.zip
fix even more brackets
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Storage/Wrapper/Encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php
index d3f514375ea..64c9b0a4a66 100644
--- a/lib/private/Files/Storage/Wrapper/Encryption.php
+++ b/lib/private/Files/Storage/Wrapper/Encryption.php
@@ -937,7 +937,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';
}
}