Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] fix(profile): fix getUID on nullable user variable #39435

Merged
merged 1 commit into from Aug 2, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

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-nextcloud backportbot-nextcloud bot added bug feature: profile PRs or issues related to the Profile feature (e.g. Profile page, API, etc.) labels Jul 17, 2023
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 27.0.1 milestone Jul 17, 2023
@blizzz blizzz mentioned this pull request Jul 17, 2023
1 task
@blizzz blizzz added the 3. to review Waiting for reviews label Jul 17, 2023
@blizzz blizzz mentioned this pull request Aug 2, 2023
@blizzz blizzz merged commit a075034 into stable27 Aug 2, 2023
34 of 36 checks passed
@blizzz blizzz deleted the backport/39309/stable27 branch August 2, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug feature: profile PRs 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.

None yet

4 participants