check if file exists before fixing file size
This commit is contained in:
parent
ba080e0d2e
commit
770aebfb9e
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ class Util {
|
|||
$proxyStatus = \OC_FileProxy::$enabled;
|
||||
\OC_FileProxy::$enabled = false;
|
||||
|
||||
if ($this->isEncryptedPath($path)) {
|
||||
if ($this->view->file_exists($path) && $this->isEncryptedPath($path)) {
|
||||
|
||||
// Reformat path for use with OC_FSV
|
||||
$pathSplit = explode( '/', $path );
|
||||
|
|
Loading…
Reference in a new issue