diff --git a/core/js/share.js b/core/js/share.js index 8e767663f1285ca34e4bc63308b1905ed557ad87..39df5e4c5bf10eedbd6800befa38b8b5b6e27f61 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -271,7 +271,7 @@ OC.Share={ } var collectionList = $('#shareWithList li').filterAttr('data-collection', item); if (collectionList.length > 0) { - $(collectionList).append(', '+shareWith); + $(collectionList).append(', '+shareWithDisplayName); } else { var html = '<li style="clear: both;" data-collection="'+item+'">'+t('core', 'Shared in {item} with {user}', {'item': item, user: shareWithDisplayName})+'</li>'; $('#shareWithList').prepend(html);