summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
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/templates
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/templates')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index b5dd653d718..046f954106a 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -72,7 +72,7 @@ $thumbSize = 1024;
if ($_['server2serversharing']) {
?>
<span id="save" data-protected="<?php p($_['protected']) ?>"
- data-owner="<?php p($_['displayName']) ?>" data-name="<?php p($_['filename']) ?>">
+ data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>">
<button id="save-button"><?php p($l->t('Add to your ownCloud')) ?></button>
<form class="save-form hidden" action="#">
<input type="text" id="remote_address" placeholder="example.com/owncloud"/>