1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Merge branch '3.3.x'

This commit is contained in:
Marc Alexander
2022-09-09 07:12:47 +02:00
4 changed files with 138 additions and 1 deletions

View File

@@ -146,7 +146,7 @@ class user_loader
{
$this->load_users(array($user_id));
return $this->get_user($user_id);
return $user_id != ANONYMOUS ? $this->get_user($user_id) : $this->users[$user_id] ?? false;
}
return $this->get_user(ANONYMOUS);