diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-05 10:11:09 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 16:07:18 +0200 |
commit | b2dde14dbc62f7b977c66401aaf6ca2e514b92f2 (patch) | |
tree | 89eea85a35a0dfc3dbed2ade55f407fff1c98206 /apps | |
parent | 627b6164c43e09b1d6e0e17d1e73815fa0e9e2b4 (diff) | |
download | nextcloud-server-b2dde14dbc62f7b977c66401aaf6ca2e514b92f2.tar.gz nextcloud-server-b2dde14dbc62f7b977c66401aaf6ca2e514b92f2.zip |
coding style fixes
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_encryption/lib/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php index 5d7858569f3..cd4db05fb9b 100644 --- a/apps/files_encryption/lib/util.php +++ b/apps/files_encryption/lib/util.php @@ -1300,7 +1300,8 @@ class Util { $parentFolder = false; if (array_key_exists('extension', $pathinfo) && $pathinfo['extension'] === 'part') { // if the real file exists we check this file - if ($this->view->file_exists($this->userFilesDir . '/' . $pathinfo['dirname'] . '/' . $pathinfo['filename'])) { + $filePath = $this->userFilesDir . '/' .$pathinfo['dirname'] . '/' . $pathinfo['filename']; + if ($this->view->file_exists($filePath)) { $pathToCheck = $pathinfo['dirname'] . '/' . $pathinfo['filename']; } else { // otherwise we look for the parent $pathToCheck = $pathinfo['dirname']; |