aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-02 23:29:13 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-02 23:29:13 +0200
commitac44506b401f973e8757809209b5989c11573cc4 (patch)
tree57d929ad2af67444ae9d085523744d3ec6216f1e /apps/files_sharing/lib
parentb7eb3f3dff93762483f6b5a6d647d4855595f318 (diff)
parent32a6b3b8626041a6bd7eb259629273ee8feaba55 (diff)
downloadnextcloud-server-ac44506b401f973e8757809209b5989c11573cc4.tar.gz
nextcloud-server-ac44506b401f973e8757809209b5989c11573cc4.zip
Merge branch 'master' into filesystem
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/share/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/share/file.php b/apps/files_sharing/lib/share/file.php
index 074ca9928d4..9a880505926 100644
--- a/apps/files_sharing/lib/share/file.php
+++ b/apps/files_sharing/lib/share/file.php
@@ -53,7 +53,7 @@ class OC_Share_Backend_File implements OCP\Share_Backend_File_Dependent {
$name = substr($target, 0, $pos);
$ext = substr($target, $pos);
} else {
- $name = $filePath;
+ $name = $target;
$ext = '';
}
$i = 2;