diff options
Diffstat (limited to 'apps/encryption/js/encryption.js')
-rw-r--r-- | apps/encryption/js/encryption.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/js/encryption.js b/apps/encryption/js/encryption.js index 7ed49f77311..ea6a5596f24 100644 --- a/apps/encryption/js/encryption.js +++ b/apps/encryption/js/encryption.js @@ -15,7 +15,7 @@ if (!OC.Encryption) { */ OC.Encryption = { displayEncryptionWarning: function () { - if (!OC.Notification.isHidden()) { + if (!OC.currentUser || !OC.Notification.isHidden()) { return; } |