summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_encryption/lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/util.php b/apps/files_encryption/lib/util.php
index 78d0ff88c8e..62f2f8b9022 100644
--- a/apps/files_encryption/lib/util.php
+++ b/apps/files_encryption/lib/util.php
@@ -1263,7 +1263,7 @@ class Util {
if($uid && \OCP\User::userExists($uid)) {
$userId = $uid;
} else {
- $userId = $this->uid;
+ $userId = $this->userId;
}
$sql = 'SELECT `migration_status` FROM `*PREFIX*encryption` WHERE `uid` = ?';