From c4b65170f2d77298f130f959d85ac3be5f6ea0a8 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Mon, 14 Dec 2015 16:04:05 +0100 Subject: show display name but internally use the user name --- apps/files_sharing/lib/controllers/sharecontroller.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_sharing/lib/controllers') 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); -- cgit v1.2.3