diff options
Diffstat (limited to 'apps/files/lib/app.php')
-rw-r--r-- | apps/files/lib/app.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/lib/app.php b/apps/files/lib/app.php index c21e44bff4e..e1aeb4d4223 100644 --- a/apps/files/lib/app.php +++ b/apps/files/lib/app.php @@ -104,9 +104,10 @@ class App { ) { // successful rename $meta = $this->view->getFileInfo($normalizedNewPath); - $fileinfo = \OCA\Files\Helper::formatFileInfo($meta); + $meta = \OCA\Files\Helper::populateTags(array($meta)); + $fileInfo = \OCA\Files\Helper::formatFileInfo(current($meta)); $result['success'] = true; - $result['data'] = $fileinfo; + $result['data'] = $fileInfo; } else { // rename failed $result['data'] = array( |