]> source.dussan.org Git - nextcloud-server.git/commit
fix(profile): fix getUID on nullable user variable 39437/head
authorThomas Citharel <tcit@tcit.fr>
Tue, 11 Jul 2023 12:40:47 +0000 (14:40 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Mon, 17 Jul 2023 13:33:58 +0000 (13:33 +0000)
commit5a6447645aeccffcef03afeb9814ad8d569ba287
treef9a9fb6da1aa8ac5e04919a1515445b4baf6139c
parent70db98feee3a466b5cee2229712d5ac01ea5dfa4
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