Skip to content

[stable26] fix(profile): fix getUID on nullable user variable - #39437

Merged
blizzz merged 1 commit into
stable26from
backport/39309/stable26
Aug 2, 2023
Merged

[stable26] fix(profile): fix getUID on nullable user variable#39437
blizzz merged 1 commit into
stable26from
backport/39309/stable26

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

Backport of #39309

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>
@backportbot-nextcloudbackportbot-nextcloudBot added bug feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) labels Jul 17, 2023
@backportbot-nextcloudbackportbot-nextcloudBot added this to the Nextcloud 26.0.4 milestone Jul 17, 2023
@blizzzblizzz mentioned this pull request Jul 17, 2023
1 task
@blizzzblizzz added the 3. to review Waiting for reviews label Jul 17, 2023
@blizzzblizzz mentioned this pull request Aug 2, 2023
@blizzz
blizzz merged commit 105d066 into stable26Aug 2, 2023
@blizzz
blizzz deleted the backport/39309/stable26 branch August 2, 2023 19:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: profilePRs or issues related to the Profile feature (e.g. Profile page, API, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@tcitworld@Pytal@come-nc@blizzz