diff --git a/core/js/share.js b/core/js/share.js
index bcb604feaa3..d4df40aaf30 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -642,7 +642,7 @@ OC.Share={
html += '';
}
if (possiblePermissions & OC.PERMISSION_UPDATE) {
- html += '';
+ html += '';
}
if (possiblePermissions & OC.PERMISSION_DELETE) {
html += '';