diff --git a/core/js/share.js b/core/js/share.js index 642c2e1fe4..e97302b0d5 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -277,7 +277,7 @@ OC.Share={ $('#linkText').val(link); $('#linkText').show('blind'); $('#showPassword').show(); - if (password.length > 0) { + if (password != null) { $('#linkPass').show('blind'); $('#linkPassText').attr('placeholder', 'Password protected'); }