diff --git a/core/js/share.js b/core/js/share.js index 8e767663f12..39df5e4c5bf 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 = '