]> source.dussan.org Git - nextcloud-server.git/commitdiff
small fix
authorjknockaert <jasper@knockaert.nl>
Mon, 20 Oct 2014 21:25:54 +0000 (23:25 +0200)
committerjknockaert <jasper@knockaert.nl>
Mon, 20 Oct 2014 21:25:54 +0000 (23:25 +0200)
apps/files_encryption/lib/util.php

index fcfcbb83f7f529c1d64d9dbdf73d48d314e8e8aa..c98e21cdcb73a3bd4c2bf815c14211e13c7e13f9 100644 (file)
@@ -439,6 +439,7 @@ class Util {
                                $relPath = \OCA\Encryption\Helper::stripUserFilesPath($path);
                                $shareKey = Keymanager::getShareKey($this->view, $this->keyId, $this, $relPath);
                                if($shareKey===false) {
+                                       \OC_FileProxy::$enabled = $proxyStatus;
                                        return $result;
                                }
                                $session = new \OCA\Encryption\Session($this->view);