diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php index 6e2b2ceb27b..069d9145a28 100644 --- a/apps/files_encryption/lib/stream.php +++ b/apps/files_encryption/lib/stream.php @@ -531,7 +531,7 @@ class Stream { // we need to update the file info for the real file, not for the // part file. - $path = Helper::fixPartialFilePath($this->rawPath); + $path = Helper::stripPartialFileExtension($this->rawPath); // get file info $fileInfo = $this->rootView->getFileInfo($path);