diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-01 13:59:29 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:30 +0200 |
commit | cac83642f2df98497ecedcded1716c28fa676313 (patch) | |
tree | 4ac7401d90eea42ec970919d59f19f9c81ef9d60 /lib/private/files/stream | |
parent | d203296e3514e5d987942f71fc80421a55ec477a (diff) | |
download | nextcloud-server-cac83642f2df98497ecedcded1716c28fa676313.tar.gz nextcloud-server-cac83642f2df98497ecedcded1716c28fa676313.zip |
Finally fixing encryption with public share
Diffstat (limited to 'lib/private/files/stream')
-rw-r--r-- | lib/private/files/stream/encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index a96d573723c..88957825de0 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -198,7 +198,7 @@ class Encryption extends Wrapper { $context = parent::loadContext($name); foreach ($this->expectedContextProperties as $property) { - if (isset($context[$property])) { + if (array_key_exists($property, $context)) { $this->{$property} = $context[$property]; } else { throw new \BadMethodCallException('Invalid context, "' . $property . '" options not set'); |