summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2015-12-14 16:04:05 +0100
committerBjörn Schießle <bjoern@schiessle.org>2015-12-14 17:25:10 +0100
commitc4b65170f2d77298f130f959d85ac3be5f6ea0a8 (patch)
treea6ca8534f66cb6d77e6b170bdf9396a087b67e9a /apps/files_sharing/lib
parentefc030aa25b047a7c9f720cf781f26cbe1d274e0 (diff)
downloadnextcloud-server-c4b65170f2d77298f130f959d85ac3be5f6ea0a8.tar.gz
nextcloud-server-c4b65170f2d77298f130f959d85ac3be5f6ea0a8.zip
show display name but internally use the user name
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/controllers/sharecontroller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php
index fe7b159449c..e28019c358c 100644
--- a/apps/files_sharing/lib/controllers/sharecontroller.php
+++ b/apps/files_sharing/lib/controllers/sharecontroller.php
@@ -181,6 +181,7 @@ class ShareController extends Controller {
$shareTmpl = [];
$shareTmpl['displayName'] = User::getDisplayName($shareOwner);
+ $shareTmpl['owner'] = $shareOwner;
$shareTmpl['filename'] = $file;
$shareTmpl['directory_path'] = $linkItem['file_target'];
$shareTmpl['mimetype'] = Filesystem::getMimeType($originalSharePath);