From: Bjoern Schiessle Date: Thu, 5 Sep 2013 08:11:09 +0000 (+0200) Subject: coding style fixes X-Git-Tag: v6.0.0alpha2~205 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b2dde14dbc62f7b977c66401aaf6ca2e514b92f2;p=nextcloud-server.git coding style fixes --- 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'];