check if file exists before fixing file size

This commit is contained in:
Florin Peter 2013-04-27 20:22:38 +02:00
parent ba080e0d2e
commit 770aebfb9e
1 changed files with 1 additions and 1 deletions

View File

@ -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 );