Skip to content

Commit 6c6e179

Browse files
committed
oops
1 parent fe080d2 commit 6c6e179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: resources/lib/UnityUser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function exists(bool $ignorecache = false): bool
159159
if (!$ignorecache) {
160160
$cached_users = $this->REDIS->getCache("sorted_users", "");
161161
if (!is_null($cached_users)) {
162-
return in_array($this->getPIUID(), $cached_users);
162+
return in_array($this->uid, $cached_users);
163163
}
164164
}
165165
return $this->getLDAPUser()->exists() && $this->getLDAPGroup()->exists();

0 commit comments

Comments
 (0)