summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib/app.php')
-rw-r--r--apps/files/lib/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/app.php b/apps/files/lib/app.php
index e1aeb4d4223..47d0ec9be9d 100644
--- a/apps/files/lib/app.php
+++ b/apps/files/lib/app.php
@@ -106,6 +106,7 @@ class App {
$meta = $this->view->getFileInfo($normalizedNewPath);
$meta = \OCA\Files\Helper::populateTags(array($meta));
$fileInfo = \OCA\Files\Helper::formatFileInfo(current($meta));
+ $fileInfo['path'] = dirname($normalizedNewPath);
$result['success'] = true;
$result['data'] = $fileInfo;
} else {