]> source.dussan.org Git - nextcloud-server.git/commit
fix(profile): fix getUID on nullable user variable 39309/head
authorThomas Citharel <tcit@tcit.fr>
Tue, 11 Jul 2023 12:40:47 +0000 (14:40 +0200)
committerThomas Citharel <tcit@tcit.fr>
Tue, 11 Jul 2023 12:41:58 +0000 (14:41 +0200)
commitcd9dac1d203cdd2a545207e59fdb27883416446c
tree15412743a030eda12a7b751d5931121d694a4468
parent5c6ed30369f5c4edcf46e5e882c6096a7e3cd01e
fix(profile): fix getUID on nullable user variable

As per method signature, $visitingUser is nullable, so we can't be sure calling getUid() on it will
work.

Closes #35766

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
lib/private/Profile/ProfileManager.php