check if file exists before fixing file size
This commit is contained in:
parent
ba080e0d2e
commit
770aebfb9e
|
@ -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 New Issue